OK. Thanks again... after reading some other docs I'll be doing:

ActionContext.getContext().setLocale(locale);
session.put(com.opensymphony.xwork2.interceptor.I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE,locale);
      
session.put(Config.FMT_LOCALE, locale); //Also for JSTL, not only Struts.
session.put("javax.servlet.jsp.jstl.fmt.locale.session", locale);//Just to
be really sure

(I hope this will "really" change locale)

Ignacio
-- 
View this message in context: 
http://www.nabble.com/How-to-change-locale-inside-an-Action-method-tp21776908p21777642.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to