Hello,
What is the preferred server side method for handling "double clicks" on a
submit button.
It would seem that if a user clicks twice on the "submit button" that there
will be two near simultaneous requests. In the past I have handled this with
some java script that would only send a single request no matter how many
times the user clicked submit....BUT this really is not the best solution.
There must be a way on the server side to handle this...
It would seem that if the user does double click and thereby send
duplicative/similar requests, then the first request will be processed, but
then what to do if a second request is very close behind? Ther user browser
will no longer display the server output of the first request since the
second request has been issued........??????? This could result in some very
odd results for the user....
Keith
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets