-
Sep 14th, 2008, 05:12 AM
#1
Double form submission in SimpleFormController
I'm using Spring' SimpleFormController.
Can anyone suggest how to prevent user from submitting forms more than once? i.e. pressing F5 on the browser to resubmit the form should be rejected with an message to user indicating they cannot submit the form twice.
My thoughts is that it SimpleFormController should take care of this. Can anyone shed some ideas?
Thanks in advance
Coffeejoy
-
Sep 15th, 2008, 03:00 AM
#2
Just override the handleInvalidSubmit method of AbstractFormController (which SimpleFormController extends). See Spring javadocs for details
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules