spring MVC problem
843840May 10 2008 — edited May 21 2008Hi
I'm designing an application using spring MVC 1.2.
I'm facing some serious prob.How do i transfer the control to either success or failure page after validating the form input with the database. I'm using SimpleFormController's onSubmit() method.Though the input form elements r getting saved using spring:bind on the jsp but the onSubmit() method is always returning the success page mapped in theapp-servlet.xml file.
How do i decide whether to display the success or failure page based on validation with the database and how to display database values on the success page?
Kindly help.