-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
jon * wrote:
>
> > Jackie Sladky wrote:
> >
> > I have a few existing web pages, and each time I make any modifications,
> > large or small, users have to clear out their Cache in order to receive my
> > new page.
>
> I suggest that you look at what the server is returning for the
> Last-Modified headers.
If you are returning dynamic content from servlets, try something like
res.setHeader("Pragma", "no-cache"); or
res.setHeader("Cache-Control", "no-cache");
early in your servlet. If you are seeing this with static html pages,
you can override this behavior by using something like:
<META HTTP-EQUIV="Expires">
Although it should not be necessary if you are getting accurate
Last-Modified headers as Jon mentioned.
--
Pat O'Neil - [EMAIL PROTECTED]
"Linux, where you want to BE, when Windows(tm) tells you where to GO!
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]