Jeff: I am using struts1.1. I tried use formatKey as you discribed, but the whole page becomes balnk. So I guess I need to "put Date or Timestamp to my page". How can I put date ot Timestamp in my page. Sorry for the simple question. I am new to java and jsp. Thanks [EMAIL PROTECTED] wrote: If you are using Struts 1.1 then you can use the formatKey attribute of the tag
formatKey="format.date.long" with a key in you properties file as such: format.date.long=EEEE MMMM d, yyyy ** I think this only works if you are putting Date or Timestamp to the page. If not 1.1 then I guess you could a helper method is the form bean that formats the date called String getDateFormatted() .. Cathy Osekizoglu on 09/23/2002 03:17:42 PM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject: bean:write and Date format Using , I got the date as:" Fri Aug 24 23:42:00 EDT 2002." How can I change it to " Fri Aug 24 02 23:42 " using struts tag? Thank you for your help. Cathy --------------------------------- Post your free ad now! Yahoo! Canada Personals -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Post your free ad now! Yahoo! Canada Personals