Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

spring MVC problem

843840May 10 2008 — edited May 21 2008
Hi
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2008
Added on May 10 2008
10 comments
282 views