Spring / Spring MVC Interview questions
Explain @ResponseBody annotation in Spring MVC.
When a controller method is marked with @ResponseBody, spring deserializes the returned value of the method and writes it directly to the Http Response automatically.
The return value of the method constitute the body of the HTTP response and not placed in a Model, or interpreted as a view name.
More Related questions...