In the action after creating a locale based on user input I make the following two calls:
// reset the Struts locale session.setAttribute(Globals.LOCALE_KEY, locale);
// reset the JSTL locale Config.set(session, Config.FMT_LOCALE, locale);
I then redirect to the page where I display some text based on the locale.
The Struts bean:message works perfectly - however, the JSTL fmt:message does not work -- by the way, I do have the LocalizationContext pointing to my ApplicationResources through the web.xml context-param.
Interestingly enough, if I do use <fmt:setLocale locale="ru"/> on the before the <fmt:message key="foo"/> it works!
Does anyone have any ideas on why the Config.set(...) is not working?
Bill Siggelkow
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]