I didnt know it was simple date format.  I didnt read the stack trace, like a 
moron.  It tells ya right there. SimpleDateFormat.compile error..  So yeah, I 
got it now. Thanks everyone. 

-----Original Message-----
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 4:39 PM
To: Struts Users Mailing List
Subject: Re: bean write format=mm/dd/yyyy


Actually, if you are using "mm/dd/yyyy", I could be wrong. Are you sure 
you aren't using MM/dd/yyyy? SimpleDateFormat uses M for month and m for 
minute, so now I'm beginning to wonder if bean:write actually does use 
SimpleDateFormat . . .

Erik


Erik Weber wrote:

> Refer to the API documentation for java.text.SimpleDateFormat.
>
> Erik
>
>
>
> Brian McGovern wrote:
>
>> Hi. I'm having some problems finding documentation on how to format a 
>> java.util.Date object in my presentation layer.
>>
>> I have <bean:write name="mybean" property="startDate" 
>> format="mm/dd/yyyy" /> and it works fine. But I want output like this 
>> "Monday, January 1st 2005".
>> Can anyone help me out with this. I know its a lame question, just 
>> drawing a blank
>>
>> -Thanks
>> B
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to