[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem with Jboss(Tomcat) caching from my file system

Boris_Br do-not-reply at jboss.com
Tue Sep 11 04:17:20 EDT 2007

I have a problem with Jboss or Tomcat chaching.
I use Jboss 4.0.5, Windows, IE 7.
Here is a part of my code in JSP:

response.setHeader("Expires", "0"); 
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
 // Set IE extended HTTP/1.1 no-cache headers (use addHeader).
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
response.setHeader("Pragma", "No-cache");
response.setDateHeader("Expires", 0);

I use frames in my JSP-Page and in this frame
I show some files e.g. 
My application change the content from this file, but if I click to refresh (F5) Internet Explorer show me sometimes the old version of file 1001.html also after 3-5 sec. . Although I send every time new URL because I have UUID in my URL and it looks like that
URL: /appl/docs1/1001.html?dsessionId=4B4F042B3CCD78F6DC4A5381FBA09D2E&Uuid=b87bfcc6-efc6-4198-b75d-24f1e0029f57

It looks like Jboss or Tomcat have some cache for my file system and don't take the actuall file from the driver, but I don't now how can I configure this cache. 

Can somebody help me? Thank you.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082872#4082872

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082872

More information about the jboss-user mailing list