this may or may not help you directly dependent upon
the specific servlet implementation your using. for
servlet 2.2 compliant implementations there is a
javax.ServletRequest.getLocale() method which will
return a Local object based upon the Accept-Language
request header.

hope this helps,

- james

Ian Holsman wrote:
>
> hi.
> I would like to get the locale of the user's browser in order to do
> language specific stuff.
> how do I do this ???
>
> Thanks
> Ian.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to