struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Stauffer" <markus.stauf...@gmail.com>
Subject s2 override request_locale
Date Wed, 17 Oct 2007 11:45:05 GMT
Dear All

Consider the following scenario: The preferred language of the user is
store in the database. I want to override any struts2 i18n settings
when the user logs in. What is stored in the database is of higher
priority than e.g. what the web browser sends in the HTTP request
headers.

How can I achieve my goal? I tried to override the "request_locale"
and "locale" variables with my own Locale. But unfortunately this is
not of a permanent nature for the users session.

Any help is appreciated.

Kind regards
--
Markus Stauffer

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


Mime
View raw message