Need detailed explanation on differences between @ModelAttribute vs @RequestBody, @ResponseBody and when to use all these three. a sample use case and sample code snippet would be helpful.
1. What are the differences between @ModelAttribute and @ResponseBody
2. When to use @ModelAttribute and When to use @ResponseBody. Need examples to differentiate between the two.
3. Difference between @RequestBody and @ResponseBody. Need examples to differentiate between the two.
4. Difference between @ModelAttribute and @RequestBody
Comments
Leave a comment