tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Smith <rsm...@designonlineinc.com>
Subject Re: Quick question/Off topic
Date Tue, 12 Sep 2000 20:11:42 GMT
We are using the following in the jsp files we don't want cached. 

   response.setHeader("Pragma","No-cache");
   response.setDateHeader("Expires",0);
   response.setHeader("Cache-Control", "no-cache"); 

Rick

On Tue, 12 Sep
2000, you wrote: > Sorry if this is slightly off topic and I know its been
covered before but > I've seen it done different ways, in jsp
> 
> how are you guys making sure your dynamic pages get reloaded (! not cached
> by the browser) and are you using the meta tag or a response header.  Any
> code snippets?
> 
> thanks.. cause the way i'm doing it now doesnt work
> 
> thanks
> rick

Mime
View raw message