Hi prasanna,
Tomcat indeed caches your servlet classes compiled from the jsp.
The default location of these classes are in tomcat/work/ under directory
having 'jsp' in its name. The name of this directory in my environment (sun
solaris) is
localhost_8080%2Fjsp.
The complete path would be
/usr/local/jakarta/build/tomcat/work/localhost_8080%2Fjsp
Before you refresh your page, try deleting all the file from the directory
and then refresh.

Regards
Mahesh
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Sachin S. Khanna
Sent: Thursday, October 12, 2000 10:45 AM
To: [EMAIL PROTECTED]
Subject:


Don't Understand why you wish to hit the refresh button, maybe a look at
your code could help us solve your problem.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: prasanna ganesan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 11, 2000 6:59 PM


> 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
>

===========================================================================
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

Reply via email to