Re: HOWTO disable Tomcat from caching dynamic picture

2006-10-05 Thread Christopher Schultz
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

Re: HOWTO disable Tomcat from caching dynamic picture

2006-10-01 Thread david.delbecq
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

Re: HOWTO disable Tomcat from caching dynamic picture

2006-10-01 Thread Martin Gainty
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

RE: HOWTO disable Tomcat from caching dynamic picture

2006-10-01 Thread Paul Hamer
- 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

RE: HOWTO disable Tomcat from caching dynamic picture

2006-10-01 Thread Roland Rabben
. 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

HOWTO disable Tomcat from caching dynamic picture

2006-09-30 Thread John Mok
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