File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes avoid multiple submit on form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

avoid multiple submit on form

Shakti Sharma
Ranch Hand

Joined: Dec 19, 2000
Posts: 60
I am trying to avoid multiple submit on form. I am using token pattern. I am able to catch the duplicate request and able to redirect it to error
Page, but my problem is even though page shows the error message but it keeps on waiting for further response, I don’t know for what it waits for after displaying the error page, my understanding is it waits for response of first request, if this is true then how to avoid this??
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Please do not cross post your questions to multiple forums. Most of the visitors here read in many of the forums and it is frustrating to see the same question repeated over and over. You have a better chance of getting a correct and timely answer if you post it to the most appropriate forum instead of using the shotgun approach and hoping you'll hit something.
You already have the same topic going here with a few responses. If the responses are not what you were looking for them reply in the same thread and rephrase the question or tell them what is wrong with the answers you;'ve gotten.

I agree. Here's the link:
subject: avoid multiple submit on form
It's not a secret anymore!