Win a copy of Learn Spring Security (video course) this week in the Spring 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