InterviewSolution
Saved Bookmarks
| 1. |
What is the difference between @RestController and @Controller in Spring Boot? |
|
Answer» @Controller MAP of the model object to VIEW or template and make it human READABLE but @RestController simply returns the object and object data is DIRECTLY WRITTEN in HTTP response as JSON or XML. |
|