ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Deploying Web Applications to Tomcat
Subject:   Servlet Caching in Tomcat 3.2.3
Date:   2001-12-03 04:48:58
From:   jolmstead2k
Much has been written about servlet caching in Tomcat, but I don't see a solution out there. I have tried the following code :

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
But I believe this code effects browser cache and not the cache of the servlet engine itself.


I have also have added reloadable="true" to the sevlet context of the server.xml file. Am I missing something, or am I just stuck with having to restart Tomcat every time I modify a servlet ?


Thank You;


John Olmstead
dbaDirect
John.Olmstead@dbaDirect.com
(859) 283 2520 ex 221


1 to 2 of 2
  1. Servlet Caching in Tomcat 3.2.3
    2003-10-29 16:13:37  anonymous2 [View]

  2. Servlet Caching in Tomcat 3.2.3
    2002-10-15 21:15:01  mta [View]

1 to 2 of 2