Explain the difference between spring @Controller and @RestController annotation Technology Community › Category: Spring › Explain the difference between spring @Controller and @RestController annotation 0 Vote Up Vote Down VietMX Staff asked 4 years ago @Controller is used to mark classes as Spring MVC Controller. @RestController is a convenience annotation that does nothing more than adding the @Controller and @ResponseBody annotations