Hi all,

    There's an old trick which is to pass a dummy random value variable,
this is:

<a href="test.jsp?rnd=xxxxxxxx">try me</a>
This make the browser always asks the server for the page and never takes it
from the client cache.

Ivan


----- Original Message -----
From: Hamid <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 7:32 AM
Subject: Re: how to load a fresh JSP page every time


> Hi,
> response.setDateHeader("Expires",0);
> response.setHeader("Pragma",no-cache);
> if(response.getProtocol().equals("HTTP/1.1")){
>         response.setHeader("Cache-Control","no-cache");
>
> }
>
> Hamid Hsasan
> Software Engineer
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joe / NeoSoft
> Sent: Monday, May 07, 2001 5:45 PM
> To: [EMAIL PROTECTED]
> Subject: how to load a fresh JSP page every time
>
>
> Hi everybody,
>
> We wanted to know how to load a fresh JSP page every time within the
> browser.
> Any reply regarding the above will be highly appreciated.
>
> RAVI
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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