Tomcat Newbie, need help with caching
- From: "JerryJ" <JanofskyJ@xxxxxxxxxxx>
- Date: 29 Jun 2006 13:23:59 -0700
I am new to Tomcat. I have a Tomcat web site that generates PDF
documents dynamically. I am having trouble because, once the PDF is
generated, Tomcat caches the output file and sends the same one to the
web client. I need to shut this off so the PDF can be regenerated from
new data on each request.
In the server.xml file under the <Host> element, I've added a <Context>
element to attempt to shut this off (see below). However, the output
still is cached unless I shut down then restart.
Your solution will be appreciated!
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/MyWebFolder" docBase="BookBuild" debug="0"
reloadable="true" cachingAllowed="false" cacheMaxSize="0"/>
.
- Follow-Ups:
- Re: Tomcat Newbie, need help with caching
- From: Juha Laiho
- Re: Tomcat Newbie, need help with caching
- Prev by Date: Re: Date question
- Next by Date: Re: cut and join mp3-files with known bitrate
- Previous by thread: Date question
- Next by thread: Re: Tomcat Newbie, need help with caching
- Index(es):
Relevant Pages
|