lishman levelup
«previous  next»

Getting Started
Form Processing

IoC Container
Hibernate ORM

Form Processing with Spring MVC

Annotation-driven configuration in Spring MVC greatly simplifies HTML form processing.

Spring helps us to prepare and display the editable data for the form, as well as arbitrary reference data, such a drop down list of permitted values, for example.

A data binding mechanism automatically populates Java objects from the submitted form data, and there is also support for validation and error output.

In short, Spring removes the drudgery of traditional HTML form handling, allowing the developer to concentrate on the required business logic instead.