19 Comments
@ModelAttribute Annotation in Spring MVC
@ModelAttributeĀ AnnotationĀ refers to a property of the Model object (the M in MVC ;). @ModelAttribute is a Spring-MVC specific annotation used for preparing the model data. It is also used to define the command object that …