Hi
  I am new to JSP.I am doing a shopping cart application in JSP.I am having the cart 
bean in session scope and the cart bean has got a vector which stores the items 
ordered.I am facing a problem with the Refresh button.Suppose I delete some items from 
the vector through the UI I have provided I get the new set of items in the cart.Now 
when I hit the Refresh button of the browser the same data that was passed for the 
previous delete
operation is used and I am getting ArrayIndexOutOfBoundsException.My guess is that the 
request is cached somewhere in the server and the cached request is used when I press 
Refresh button.How do I prevent the server from caching requests.I am using Tomcat 
Apache server
Any help would be greatly appreciated

Thanks & Regards
Prasanna.G.


_______________________________________
Click here to get your free domain name
and personal portal from NAMEzero(TM):
http://www.namezero.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