> From: Sekar, Vasanth [mailto:vasanth.se...@supervalu.com] > Subject: RE: Tomcat 6.0.18 Caching Question
> I am trying to disable the caching under work/catalina -> _jsp.java & > _jsp.class by doing the following That's not "caching"; that's where the translated and then compiled JSP are placed as a result of accessing the JSP the first time. > In context added the following cachingAllowed = false parameter Please read the description of the cachingAllowed attribute in the Tomcat docs; note that it applies to _static_ resources. > <Context path="/test" > docBase="test" > cachingAllowed="false"> Unless your <Context> element is in server.xml (which it shouldn't be), the path attribute is not allowed - but this is not really relevant to your problem, just good practice. > Deleted the work/catalina cache and restarted the tomcat server. Tired > to access the app and _jsp.java & _jsp.class showed up again. Which is how it should be. All you've shown us so far is the HTML as seen by the browser, which is of only minor interest. Pid asked to see the code (that would be the JSP code), which would be much more pertinent. All evidence at the moment indicates that your JSP code is the most likely suspect. And again, at least trying it on a current version would either confirm or eliminate the possibility that the problem has been fixed sometime in the past four years (if it is a Tomcat problem). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org