Have you found that disabling caching causes images included in the page to
be reloaded also?  I would prefer the page is reloaded, but the images are
cached.

-----Original Message-----
From: Hari Yellina [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 8:18 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Problem in refresh the new jsp file


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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
>
>
>
> > -----Ursprungliche Nachricht-----
> > Von: Franky Tong [mailto:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 9. Mai 2001 10:42
> > An: [EMAIL PROTECTED]
> > 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!
> >
> >
>
>

Reply via email to