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.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to