| Initialize the given binder instance, e.g. with custom editors.
Called by BindUtils.bind .
This method allows you to register custom editors for certain fields
of your command class. For instance, you will be able to transform Date
objects into a String pattern and back, in order to allow your JavaBeans
to have Date properties and still be able to set and display them in,
for instance, an HTML interface.
Parameters: request - current request Parameters: binder - new binder instance throws: ServletException - in case of invalid state or arguments See Also: org.springframework.validation.DataBinder.registerCustomEditor |