>I created a button that would call a servlet.
>
>How can I prevent the user to double click the button that will
>call the servlet twice?


I don't know if there is a way to detect them doing it.  If there is, it
would probably involve some fancy session tracking.  Start with some
text beside the button saying to only click it once.  If they do it
anyway, don't send the page you would normally send.  Instead, return
some HTML that points to a place where they can buy the AOL For Dummies
book and wrap the whole page with a blink tag.

Ed

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to