Data Binding and the Form Tag Library
Data binding is a feature that binds user input to the domain model. Thanks to data binding, HTTP request parameters, which are always of type String, can be used to populate object properties of various types. Data binding also makes form beans (e.g. instances of ProductForm in the previous chapters) redundant.
To use data binding effectively, you need the Spring form tag library. This chapter explains data binding and the form tag library and provides examples that highlight the use of the tags in the form tag library.
Data Binding Overview
Due to the nature of HTTP, all HTTP request parameters are strings. Recall that in the previous chapters you had to parse a string to a float in ...