Hi all,

I've run into a similar problem with Tomcat 6.0 and am hoping to find some
information on why this might be happening.

I have an xml file which contains information to display a graph. I also
have an HTML file which creates an applet to view the graph.

The xml file is updated based on inputs from the user (specified in
StartPage.jsp). So, the user gives an input, the xml file is updated and the
corresponding graph should be displayed.

What is happening in practice is that: the xml file is indeed updated but
the graph being displayed is an older version (corresponding to the older
.xml file which has now been over-written). I gather that this means tomcat
is caching the xml files.

I have tried including "cachingAllowed" to false in context.xml. I have also
deleted the application_folder under $TOMCAT_HOME\work\Catalina\localhost\.
Neither of these options has helped in disabling caching.

I would really appreciate any help on how I could get around this!


dkarr wrote:
> 
> When I'm debugging javavascript code, it's really annoying when Firefox
> caches the javascript file (even when I've modified it).  I'm familiar
> with the headers for disabling caching, but it's a little more annoying
> to emit those headers on javascript files.  Unless I'm missing
> something, is there an easy way to make Tomcat send the disable cache
> headers for all responses, perhaps for a single application?
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Any-way-to-make-tomcat-send-the-%22disable-caching%22-headers-on-all-responses--tp16081557p25008571.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to