Aug 27th, 2008, 05:12 AM
Diff b/w WebRequestDataBinder and ServletRequestDataBinder
Can anyone tell me whats the difference between
'WebRequestDataBinder and ServletRequestDataBinder' ?
when should i use the these ?
Also does the SimpleFormController make use of the ServletRequestDataBinder to bind the request parameters to the command object. Correct me if i a m wrong .
Aug 29th, 2008, 04:09 AM
The SimpleFormController makes use of the ServletRequestDataBinder to bind the request parameters to the command object.
If the properties in the command object is not of String type then we need to have custom property editors for doing this binding.