Is there a HTTP/Servlet API for communicating the time zone information from the browser to the servlet, similar to the Local API?
This looks like a pretty basic peice of information for internationalization and localization. I know one can write a custom java script, determine the time zone and pass it on.
However, I am just wondering if I am missing something or if this is a know hole within HTTP/servelt spec??
Thanks,
Kiran
-
TimeZone API (2 messages)
- Posted by: Kiran Patchigolla
- Posted on: July 07 2003 20:57 EDT
Threaded Messages (2)
- TimeZone API by Kiran Patchigolla on July 07 2003 21:01 EDT
- TimeZone API by Paul Strack on July 08 2003 07:41 EDT
-
TimeZone API[ Go to top ]
- Posted by: Kiran Patchigolla
- Posted on: July 07 2003 21:01 EDT
- in response to Kiran Patchigolla
(reposting,just corrected some typos)
Is there a HTTP/Servlet API for communicating the time zone information from the browser to the servlet, similar to the Locale API?
This looks like a pretty basic piece of information for internationalization and localization. I know one can write a custom java script, determine the time zone and pass it on.
However, I am just wondering if I am missing something or if this is a known hole within HTTP/servlet spec??
Thanks,
Kiran -
TimeZone API[ Go to top ]
- Posted by: Paul Strack
- Posted on: July 08 2003 07:41 EDT
- in response to Kiran Patchigolla
This is not a hole in the servlet spec, it is a hole in the HTTP spec. There is no common HTTP header that communicates browser TimeZone info to the server.
If this is something you really need, the easy way to accomplish this is a JavaScript hack on the site home page to communicate the time zone.