How to return the list of objects which are not belongs to any entity from spring rest controller
Answers
Answered by
0
Answer:
Difference between @RestController and @Controller in Spring. ... The @Controller is a common annotation which is used to mark a class as Spring MVC Controller while @RestController is a special controller used in RESTFul web services and the equivalent of @Controller + @ResponseBody.
Similar questions