You wrote:
> I am asking this question again because nobody has answered it before
> when I aksed it. I have a multi locale site
including(US,UK,JP,FR,DE,MX,SW).
> It is running on Solaris machine which is set to GMT timezone. I want to
show
> timezone specific time to the users. Suppose a person is seeing the site
in
> japanese locale then he should see time according to the Japan TimeZone.

This is simple using java.text.SimpleDateFormat class to display your
dates/times.  Use java.util.TimeZone class to change your time zones,
starting with GMT as the default.  Call method TimeZone.getAvailableIDs() to
return a String[] of TimeZone names to use.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to