struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: Reloading certain things in cahce
Date Tue, 04 Jul 2006 18:54:12 GMT
Fredrik Andersson wrote:
> Hi all
> I'm using
> getRequest().getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY,
> new java.util.Locale("sv","SV") );
> To change the language on my page (using struts i18n
> internationalization). Now my page is storing the pages inside it's
> cache and I was woundering if I somehow can clear the MessageResources
> out of my cache so that it would be reloaded the next time I go anywhere
> on my site.

I'm not sure what cache you're talking about, but what you're seeing is 
probably a result of browser caching. Try turning on the Struts 
'nocache' option via the <controller> element in struts-config.xml, or 
explicitly include the appropriate cache control headers in each page.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message