tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John5342 <>
Subject Re: Multiple Time Zones on one Tomcat instance?
Date Tue, 30 Sep 2008 18:09:18 GMT
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 <>

> > From: John Gardner []
> > 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
> 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:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message