close

Filter

loading table of contents...

Content Application Developer Manual / Version 2207

Table Of Contents

4.3.6.2 Form submission

A 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, ...)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.