Did that, but when compiling,
I get thrown this error:

SetLocalAction.java:18: cannot resolve symbol
symbol  : variable LOCAL_KEY
location: class org.apache.struts.action.Action
request.getSession().setAttribute(Action.LOCAL_KEY, local);
                                                ^
Am using Struts 1.02 - might this be the reason ?


Marcus

[EMAIL PROTECTED] schrieb:
> 
> To change the language for example to Farsi use:
> 
> java.util.Locale newLocale = new java.util.Locale( "fa" );
> request.getSession().setAttribute( Action.LOCALE_KEY, newLocale );

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to