I am pretty sure there are jsp features to do this but if not it would be quite simple to create a new tag that checks the locale of the request and adjust the time returned to reflect the locale. Then just use that tag anywhere the time is needed.
2008/9/30 Caldarale, Charles R <[EMAIL PROTECTED]> > > From: John Gardner [mailto:[EMAIL PROTECTED] > > Subject: Multiple Time Zones on one Tomcat instance? > > > > Is there any way we can serve mutliple webapps from a single Tomcat > > instance, with mutliple timezones? > > Tomcat itself doesn't care about time zones, and a single JVM instance will > only use one time zone at a time (no pun intended). You could run two > instances of Tomcat, one for the French, and one for the less picky rest of > the world. Other than that, you'd have to make the adjustments in the > webapp itself to be cognizant of each client's time preference. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >