Execute the following code before writing to the output (res is your
HttpResponse):

    res.setHeader("Expires","0");
    res.setHeader("Cache-Control","no-cache"); // for HTTP 1.1
    res.setHeader("Pragma","no-chache"); // for HTTP 1.0



fi95 Yann Deydier wrote:
> 
>                 Hi
> 
>         My question is in the subject:
>         How to force to execute once more the page java code when user presses the 
>browser "back" button ?
>         (but maybe that's not a jserv problem...)
> 
>         Because even using the
>         <META HTTP-EQUIV="EXPIRES" Content="Tue, 04 Dec 1993 21:29:02 GMT">
>         in the html page header, the page is not reloaded when it is called with a 
>"back" browser button.
> 
>         (my config is RedHat - Apache 1.3)
> 
>         Thanks !
> 
>         Yann
> 
>         (maybe you've received this mail several times, are there any pbms with the 
>mailing-list ?)
> 
> -- --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]

-- 
Guenther Wieser      
creative-it/Guenther Wieser Software KEG
Student of Telematik at Graz University of Technology
http://www.creative-it.com        mailto:[EMAIL PROTECTED]
-> In A World Without Walls And Fences, Who Needs Windows And Gates? <-


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to