tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Yellina" <yell...@iprimus.com.au>
Subject Re: Problem in refresh the new jsp file
Date Wed, 09 May 2001 12:17:51 GMT
Hi All,

 As Mascha was telling you guys. Please add

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");

begining of your jsp page. I mean after page tag. This is really efecctive
solution. It has worked for me on IE 5 as well Netscape 4.3 4.7

Thanks for Mascha

Regards

Hari Yellina.
----- Original Message -----
From: "Mascha Kluge" <mascha.kluge@bytecom.net>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, May 09, 2001 7:01 PM
Subject: AW: Problem in refresh the new jsp file


>
> Hi,
>
> write this in your .jsp:
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
>
> This will avoid that the jsp-page is cached.
>
> Regards,
> Mascha
>
> ____________________
>
> Mascha-Kathinka Kluge
> ByteCom GmbH
> Martin-Luther-Str. 5a
> 97072 Wurzburg
>
> Tel: +49 (931) 35 45 8-44
> Fax: +49 (931) 35 45 8-19
>
> http://www.bytecom.net
> mailto:Mascha.Kluge@bytecom.net
>
>
>
> > -----Ursprungliche Nachricht-----
> > Von: Franky Tong [mailto:franky.tong@motorola.com]
> > Gesendet: Mittwoch, 9. Mai 2001 10:42
> > An: tomcat-user@jakarta.apache.org
> > Betreff: Problem in refresh the new jsp file
> >
> >
> > Hi all,
> >
> > I have a problem that I get an outdated JSP page even if I
> > have updated
> > the JSP file in the server. It shows me the old content in the browser
> > even I have refreshed the page.
> >
> > Is there something that I need to set about the caching?
> >
> > Thanks!
> >
> >
>
>


Mime
View raw message