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