Thanks.  I must have been looking at old or incorrect documentation.   It 
said that processLocale looks at the server default but ignores the 
browser settings.  Nice to have this problem eliminated.

Thanks,

Joe Baker
Director of Internet Communications
Amnesty International USA
600 Pennsylvania Ave SE 5th Floor
Washington, DC 20003
202-544-0200 x285
http://www.amnestyusa.org
[EMAIL PROTECTED]




"David Graham" <[EMAIL PROTECTED]>
03/14/03 05:43 PM
Please respond to "Struts Users Mailing List"

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: Design Question - giving nice URL's with parameters hidden


>When people first hit one of the internationalized pages, I'd like to
>check their browser settings for locale.

You don't need to check that yourself.  The first time a user hits your 
site 
the RequestProcessor.processLocale() will put a Locale object in their 
session.  It checks their Accept-Language header to find the appropriate 
locale or uses the server default if they don't have that HTTP header.

David


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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



Reply via email to