Check "Web Development with Java Server Pages" by
Duane K. Fields and Mark A. Kolb.  There's a section
on transaction integrity on page 269 (chapter 9).
Source code:
www.manning.com/fields
www.taglib.com

Good luck,

Kachana



--- Marcelo Mathias Lima <[EMAIL PROTECTED]> wrote:
> Well, well....
>
> I think u will get this only redirecting to other
> page (without the
> parameters) after u add the products to cart.
>
> I have a virtual store too and I simple ignore
> this....
>
>
> ----- Original Message -----
> From: Naik Ishwar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 03, 2000 7:28 AM
> Subject: regarding refreshing the page
>
>
> > Hi ,
> >  I have jsp page, which displays the search
> results of
> > different products. And whenever i select any
> product,
> > it calls AddToCart.jsp passing the id of the
> product.
> > Then AddToCart.jsp adds the product to the shoping
> > cart.
> > Now there is a problem.
> > If i refresh(pressing the refresh button) the same
> > product is added again and diplayed. Is there any
> way
> > i can avoid this.
> > please do help me. This is very urgent
> >
> > TIA
> > ishwar
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> > http://photos.yahoo.com/
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> > 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
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> 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


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to