tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John5342 <john5...@googlemail.com>
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 <Chuck.Caldarale@unisys.com>

> > From: John Gardner [mailto:john.gardner@tagish.co.uk]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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