hi,

If you don't want the request submitted a second time at all, you will
have to use javascript. Otherwise, there is something called "sensitive
form resubmits" and a relatively standard way of handling the situation.
You can find some info about it here:

http://www.kobrix.com/view_contribution.jsp?cid=7

This is in the context of our own product, but the general solution is
described as well.

Best,
Boris

____________________________________________
Borislav Iordanov
Chief Architect
TICL - a RAD toolkit for server-side Java
http://www.kobrix.com


> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference [mailto:JSP-INTEREST@;JAVA.SUN.COM] On Behalf Of
> priscilla augustin
> Sent: Friday, November 01, 2002 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: Handling multiple form submits
>
>
> Hi,
>  I'm working on an ecommerce application based on JSP/EJB.
> The problem that I have is when the user clicks the checkout
> button multiple times, multiple requests are sent to the jsp.
> I'm looking for a solution that is not based on javascript
> (basically at the client side). Wondering if anyone has any
> thoughts on this.
>
> Thanks
> Priscilla
>
> ==============================================================
> =============
> 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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to