Have you tried overriding the getLocale() method of
ActionSupport-derived classes?

--- Markus Stauffer <[EMAIL PROTECTED]> wrote:

> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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

Reply via email to