Note that there is a LocaleAction specifically for doing this, so you don't even have to remember how :) It appears in 1.2.4 at least, but I'm not sure when it was first introduced.

Frank

Danny Lee wrote:
Well,

that's really easy, just do:

"request.getSession().setAttribute(Globals.LOCALE_KEY, new locale(languageCode));"

in your action, where languageCode is the locale you wish to use.

Cheers

Danny



Miren Urkijo schrieb:

HEllo y havo one struts aplicaicon.
if into the borwser i change the locale, into the browser properties, my application load the properties files well. i am thinking for making onw struts action for changing the language, thelocale but i dont knows how to change it.
can anybody says me how must i make it?
thanks



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



.


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

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

Reply via email to