Hello!
Is it possible to bypass the validation with Spring MVC?
If yes, how?
Hello!
Is it possible to bypass the validation with Spring MVC?
If yes, how?
Are you using the SimpleFormController? If so you can set the validateOnBinding property to false.
Code:<bean id="" class="yourControllerClass"> <property "validateOnBinding" value="false"/> </bean>
That will always disable validation. If you want to have some more control over it simply override/implement the method 'suppressValidation' and put some logic in there.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan