Hello,

I'm trying to use the method "getLocale()" on HttpServletRequest objects...
however, it always seems to return "en_US"!  This is despite my browser
sending "fr,en-gb;q=0.5" as the "accept-language" header! (I've checked this
last point by calling request.getHeader("Accept-Language"), including
several variations (upper & lower case, for example).  I can always get the
correct value back, but Tomcat 4.0.1 always returns "en_US".

Is this a bug?  Or am I missing something?

For info., I've tried this on IE6.0 and Mozilla 0.9.8 .  Both with
appropriate language settings, both get picked up as "en_US", despite
correctly-specified values in the "accept-language" headers.

- Chris B.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to