Content Application Developer Manual / Version 2204
Table Of ContentsA form submission can be handled with Spring MVC means. The form backing bean is automatically filled with the posted values of the form. When a responsible handler is found for a request, the form bean is passed as a method argument to the handler method if a method parameter is annotated with @ModelAttribute.
public ModelAndView handleFormSubmit(
@ModelAttribute("nameOfForm") MyForm form, ...)