I think this might work for you:

Set these headers:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "-1");

And put this in the <head> tag of your page
<meta http-equiv="Pragma" content="no-cache">


----- Original Message -----
From: "Julia Reynolds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 20, 2000 6:54 AM
Subject: Expiring a page


>
>
> How do you expire a page in JSP?  In cold fusion you just put
> <cfheader name=expires value=Now()>
> at the top of the page.  How in jsp?
>
> Julia
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to