This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to get IE language setting? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to get IE language setting?" Watch "how to get IE language setting?" New topic
Author

how to get IE language setting?

gino jersey
Greenhorn

Joined: May 24, 2005
Posts: 21
Is there a way to programatically determine the language preference in a user's browser (Internet Explorer?)

Thanks
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Where would this program be running? In the browser as an applet? On the server as a servlet? Somewhere else?
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3700
    
    5

If this is a servlet/jsp, use HttpServletRequest.getLocale()


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get IE language setting?
 
Similar Threads
Java Language Specification for Java 6
Working on a tool or language
WA #1.....word association
TripleDES
Tech Word Game