Re: How to get the user locale from a jsp

2005-03-09 Thread Flemming G. Jensen
pplication uses Tiles and this works well. -- Flemming -Oprindelig meddelelse- From: delbd [EMAIL PROTECTED] Date: Wed, 9 Mar 2005 11:57:11 +0100 To: "Struts Users Mailing List" user@struts.apache.org Subject: Re: How to get the user locale from a jsp > Unfortunately, this i

Re: How to get the user locale from a jsp

2005-03-09 Thread delbd
Unfortunately, this is the locale sent by browser only. Struts store the user locale in session under the key Globals.LOCALE_KEY. There is a util class which get this info from session and, if this is empty, return the browser locale. So it is possible to programmatically change the user locale.

Re: How to get the user locale from a jsp

2005-03-09 Thread Flemming G. Jensen
You get the local object from the request with the getLocale() method.. --Flemming -Oprindelig meddelelse- From: delbd [EMAIL PROTECTED] Date: Wed, 9 Mar 2005 10:14:36 +0100 To: user@struts.apache.org Subject: How to get the user locale from a jsp > Hello > > How could i get the the us