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.
You could use some JavaScript magic (since the JS runs on the client) to try and figure it out. Perhaps as part of the login, you can have the page add a hidden input that reports the timezone offset? Not something I've done, but it sounds like a good theory/starting point.
[ January 10, 2008: Message edited by: Bear Bibeault ]