You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Bryce Crossman <st...@crossman.ca> on 2005/08/24 17:26:51 UTC

How can I switch locale and refresh current JSP?

Hello,

I have a Struts application that also uses Tiles for 
header/sidebar/footer.  In my header there is a common button for 
switching languages.  When this button is pressed I would like the 
locale to be switched and the current page to be refreshed.  The current 
page may have been reached using URL parameters so it's important that 
those are taken into account when the page is refreshed.

I have been searching for a way to do this for a while and haven't found 
anything useful.  The LocaleAction class keeps popping up in search 
results but I haven't been able to implement it for lack of examples and 
I'm not entirely sure it will do what I want anyway.

I'm sure this isn't a new problem but I'm feeling stuck.  Any help would 
be greatly appreciated.

Bryce

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