struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gnanaseelan" <gnanaseel...@indscape.com>
Subject Re: bean:write format
Date Thu, 28 Feb 2002 11:38:45 GMT
Hi

  The best way to format date is using SimpleDateFormat class .but i think
its better to go traditional way of vaildation

hope this could be helpful

Gnan
----- Original Message -----
From: "Graham Lounder" <lounder@caris.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Tuesday, June 25, 2002 4:38 PM
Subject: bean:write format


> Hello All,
>
> I can't seem to find much documentation on the format option of the
> bean:write tag.  I've search the mail archive and couldn't find anything.
>
> I was able to format numbers by using ###.##0.00 in the format option.  My
> question is, can you also format dates? Strings(etc phone numbers, postal
> codes)?  What is the best way to do this in struts.
>
> If there is no easy way to do this in struts, what else can you recomend?
I
> believe there is a jakarta taglib which does some of this stuff.  Has
anyone
> used it?
>
> Thanks in advance,
> Graham
>
> ============================================
>   Graham Lounder
>   Java Developer
>   Spatial Components Division
>   CARIS
>   264 Rookwood Ave
>   Fredericton NB E3B-2M2
>   Office 506 462-4218
>   Fax    506 459-3849
>   graham.lounder@caris.com
>   http://www.spatialcomponents.com
> ============================================
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message