See if this helps any:

import javax.servlet.jsp.jstl.core.Config;
...
Local locale = Locale.ENGLISH;
setLocale(request, locale);
HttpSession session = request.getSession(true);
Config.set(session, Config.FMT_LOCALE, locale);

Quoting Oliver Wulff <[EMAIL PROTECTED]>:

> 
> 
> 
> 
> I wrote an Action class which changes the local according the language the
> user has choosen from a listbox:
> setLocale(request, Locale.ENGLISH);
> 
> Now, I migrated the struts tag library 'bean' to JSTL 'fmt'. Unfortunately,
> changing the language doesn't affect the fmt tags:
> snippet of my jsp:
> <fmt:setBundle
> basename="com.zurich.chz.omnibus.berechtigung.ApplicationResources"/>
> <fmt:message key="search.title"/>
> 
> What am I doing wrong?

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to