John,
I have a servlet, namely BMPImageViewer, which retrieves a BMP image
from database with conversion into PNG format via JAI. The servlet is
referenced in XSL-FO for PDF generation.
Do you use Cocoon or something similar to do the XSL-FO-PDF conversion?
If so, do you have caching turned
Tomcat does not cache output of a servlet. By definition the output of a
servlet is dynamic and as such has no reason to be cached. The image is
probably cached somewhere else...
John Mok a écrit :
Hi,
I am using Tomcat 5.5.17 with Sun JDK 5.0 Update 7 on CentOS 4.3. I
have a servlet, namely
or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: david.delbecq [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Sunday, October 01, 2006 5:47 AM
Subject: Re: HOWTO disable Tomcat from caching dynamic picture
Tomcat
-
From: John Mok [mailto:[EMAIL PROTECTED]
Sent: Sunday, 01 October 2006 02:46
To: users@tomcat.apache.org
Subject: HOWTO disable Tomcat from caching dynamic picture
Hi,
I am using Tomcat 5.5.17 with Sun JDK 5.0 Update 7 on CentOS
4.3. I have
a servlet, namely BMPImageViewer, which
. oktober 2006 16:16
To: 'Tomcat Users List'
Subject: RE: HOWTO disable Tomcat from caching dynamic picture
Hey John,
Tomcat does not do any caching. Try adding these HTTP headers:
response.addHeader(Pragma,no-cache); // HTTP/1.0
response.addHeader(Cache-control,no-cache, no-store); // HTTP
Hi,
I am using Tomcat 5.5.17 with Sun JDK 5.0 Update 7 on CentOS 4.3. I have
a servlet, namely BMPImageViewer, which retrieves a BMP image from
database with conversion into PNG format via JAI. The servlet is
referenced in XSL-FO for PDF generation.
My problem was that the image did not