The bean write format option does work for dates. I was playing with it yesterday and things like "mm/dd/yyyy" worked fine.
Pat -----Original Message----- From: gnanaseelan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 6:39 AM To: Struts Users Mailing List Subject: Re: bean:write format 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" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > http://www.spatialcomponents.com > ============================================ > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

