My application is accessed across the globe. I am setting the date and time in java layer and displaying it in JSP. The server is running in US. When ever someone outside US wants to look at the date and time on screen, they will be looking at the US time and date. I want it be locale specific. I guess it should be done at JSP page level. Can you please give inputs on how to implement the date and time for locale specific.
Originally posted by Vishnu Prakash: Is it possible to achieve the same using any struts tags.
Not that I'm aware of, but I ditched Struts long ago. So I may not be "in the know" regarding anything that's been added since.
Can't we just render the page as per user's locale specific time.
How would you know what it is? The Date header on a request typically reports the timestamp using GMT.