Unfortunately this information is not passed in HTTP headers.
Usually you need cooperating JavaScript to fetch it for you.
Web is full of examples, here is one http://www.coderanch.com/t/486127/JSP/java/Query-timezone
More Related Contents:
- Dynamic Drop down values based on another dropdown [closed]
- Simple calculator with JSP/Servlet and Ajax
- How to escape apostrophe or quotes on a JSP (used by JavaScript)
- Reading a JSP variable from JavaScript
- Converting a Java ArrayList of strings to a JavaScript array
- How do I pass JavaScript values to Scriptlet in JSP?
- sending variable from one jsp to another jsp
- Assign JavaScript variable to Java Variable in JSP
- Set img src from Byte Array
- calling java method in javascript [closed]
- How can I upload files to a server using JSP/Servlet?
- How should I use servlets and Ajax?
- Example images for code and mark-up Q&As [closed]
- What’s the difference between JavaScript and Java?
- Convert Date/Time for given Timezone – java
- Background timer task in JSP/Servlet web application [duplicate]
- How to call javascript from Android?
- TimeZone problem in Java
- Javascript long integer
- Why does getRealPath() return null when deployed with a .war file? [duplicate]
- Passing parameters to action through ModelDriven in Struts 2
- I can pass a variable from a JSP scriptlet to JSTL but not from JSTL to a JSP scriptlet without an error
- Using .html files as JSPs
- How to use session in JSP pages to get information?
- Uploadify plugin doesn’t call Java Servlet
- How do I load a javascript file into the DOM using selenium?
- javax.servlet.ServletException: bean [name] not found within scope
- Detect version of Java using JavaScript
- org.openqa.selenium.UnhandledAlertException: unexpected alert open
- Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”