I am newbie to Spring framework. I have built a very small sample application to start with , using Spring 3 MVC module.
Application consists of single screen which asks for UserName and Password. On submit , I would be displaying values entered on next page. Now, I wanted to put validation in my application. I wanted to try both client and server side validations so I tried integrating commons validator framework with Spring 3 MVC. Following is what I did :
In my validation-servlet.xml , I wrote :
<bean id="validatorFactory" class="org.springmodules.validation.commons.DefaultValidatorFactory">
<bean id="beanValidator" class="org.springmodules.validation.commons.DefaultBeanValidator">
<property name="validatorFactory" ref="validatorFactory"/>
(to be continued .. 10000 characters exceeded )