There is a sample how to format date time format from jsp scriplet, paste
and change as needed. In order to show data just add
<%
Timestamp yourDateTime = yourValue;
SimpleDateFormat format = new SimpleDateFormat("yyyy.mm.dd HH:mm:ss");
format.setTimeZone(TimeZone.getTimeZone("GMT"));
formattedDateTime = format.format(yourDateTime );
%>
Formatted date and time: <%=formattedDateTime %>
Cheers Remis
----- Original Message -----
From: "Larsson, Jonas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 12:41 PM
Subject: [OS-webwork] Rendering java.sql.Timestamp?
>
> Can someone please give me a pointer to how to customize the formatter for
> rendering date objects (and it's subclasses). I am trying to render a
> java.sql.Timestamp property and it only shows the date (not the time) AND
> the date is on the wrong locale.
>
> I remember seeing something about this somewhere, but I can't find it
again.
>
> I'm using WW1.4 and the WW taglib BTW.
>
> Regards
>
> Jonas
>
> --------------------------------------------------------------------------
----
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above. If you are not the intended
recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited. This
> communication is for information purposes only and should not be regarded
as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers. Email transmission cannot be guaranteed to
be
> secure or error-free. Therefore, we do not represent that this
information is
> complete or accurate and it should not be relied upon as such. All
> information is subject to change without notice.
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork