Set Locale with a backng bean

I have this issue: i'm trying to set the default Locale for the web page with a backing bean wich is boud to a combobox on the page for selecting the language. So in the bean on the value change of the combobox i do this:

Locale locale=Locale.getDefault();

locale.setLocale(language);

When i tried it the first time everythink worked fine, the problems comes when to users access at the same time at the web application: when i user sets the language, also the locale of the other user is automatically changed. The backing bean which is managing the language change is defned as a session bean. Do someone know why?

[642 byte] By [kurtu2a] at [2007-11-27 11:07:20]
# 1

The default locale is set JVM-wide and is not specific to a user's session. JSF will use the Locale specified by ExternalContext.getRequestLocale() which is determined by the HttpServletRequest object, which uses the Accept-Language header from the request.

RaymondDeCampoa at 2007-7-29 13:21:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...