struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Cavaness <cava1...@bellsouth.net>
Subject Re: Prevent Cache.
Date Sat, 25 Jan 2003 00:00:09 GMT
Just out of curiosity, are you using a proxy server?

chuck
> 
> From: "carlos list" <carlosstruts@hotmail.com>
> Date: 2003/01/24 Fri PM 06:09:53 EST
> To: struts-user@jakarta.apache.org
> Subject: Prevent Cache.
> 
> 
> 
> 
> 
> Hello List, i'm dealing with the old problem of preventing browser chache.
> I've tried all the combinations i found in the archive:
> 
> Code in my JSP view:  <%response.setHeader("Cache-Control","no-cache");
>                          response.setHeader("Pragma","no-cache");
>                          response.setDateHeader("Expires",0);
>                        %>
> 
> Also the same code in my Action class.
> 
> And nocache=true in the initialization parameters of the ActionServlet.
> 
> But nothing seems to work.
> 
> Has anyone solved this problem effectively?
> 
> thanks in advanced.
> 
> Carlos.
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message