struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "carlos list" <carlosstr...@hotmail.com>
Subject Prevent Cache.
Date Fri, 24 Jan 2003 23:09:53 GMT




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>


Mime
View raw message