struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Taylor <>
Subject Re: Formatting a date with a different time zone.
Date Wed, 02 Feb 2005 03:57:39 GMT
Hi Derrick,

You have to declare your properties file in your web.xml. Assuming it's 
called "," and lives under 
WEB-INF/classes, you'd do it like this:


Just to be safe, brush up on the web.xml syntax & the JSTL requirements 
(this is off the top of my head ;-)



Derrick Koes wrote:
> Yes, the fmt library looks like the winner.  It doesn't seem to pick up my key from my
resource file in the timeStyle attribute.  How do I do that?
>  <fmt:timeZone value="Session.timeZoneID">
>               <fmt:formatDate value="${startDate}" type="time" timeStyle="ilt.time.format"/>
>           </fmt:timeZone>
> Thanks,
> Derrick

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message