Make a filter and map it to the image filetypes...
-Original Message-
From: Puthezhath, Rajeev (TWII Boston) [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 8:01 PM
To: Orion-Interest
Subject: How to specify cache time out period for images
Hi,
We have a J2EE
This is a very general HTTP/browser question that you might get a quicker answer
to from a more target newsgroup, such as comp.infosystems.www.browsers, or one
related to HTTP. However, if someone on this list has the answer, I know I sure
would like to hear it. I wonder if have a servlet field
I could not manage to prevent caching of dynamically generated images playnig with
response headers.
A simple hack is to add some dummy request parameter to the image URL, assuming it
won't break your servlet :
img src=
"/YourServletImageGenerator?DUMMY=%=JspBean.getCacheControlValue()%"