Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browser Locale

 
June
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to get the Locale of a web browser?
Thanks!
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Try the getLocales() method declared in the ServletRequest interface and defined in the HttpServletRequest class.This method returns a Enumeration of all the attributes.
Hope this helps,
Manjunath
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic