Use
response.setHeaderDate("Expires",System.currentTimeMillis() + 1800000);
to set it to exire 30 min from now.
Just plop in whatever date (long) you want for the time (just like the asp
is doing).
--shawn
----- Original Message -----
From: Peter Joseph Otto <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 12, 2000 7:03 PM
Subject: ASP vs. JSP refreshing a page
> In Asp I would use
> Response.Buffer=True
> Response.ExpiresAbsolute=#Jan 01, 1980 00:00:00#
>
> How do I get JSP to Refresh its page the next time I enter it?
>
> ( the database has changed its values, so I want JSP to show the new
values)
>
>
===========================================================================
> 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
>
===========================================================================
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