What is the purpose and usage of @ModelAttribute in Spring MVC?
@ModelAttribute
@ModelAttribute simply binds the value from jsp fields to Pojo calss to perform our logic in controller class. If you are familiar with struts, then this is like populating the formbean object upon submission.