John, There's a (beta) datetime custom tag available at: http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html
Not sure if this does exactly what you're after but it can take a java Date object - but you have to access it as a long millis - and format it into many different date formats. It also contains a tag, <datetime:current> I think, which gets the current date and time. Hope this helps __________________________________ Steve Earl -----Original Message----- From: Mattos, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 5:28 PM To: 'Struts Users Mailing List' Subject: RE: Pre Populating Fields - bit of a newbie question Anyone? Pre populating fields? John Mattos Sr. Developer and Architect iNDEMAND 345 Hudson St. 16th Floor New York, New York 10014 -----Original Message----- From: Mattos, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 11:19 AM To: 'Struts Users Mailing List' Subject: Pre Populating Fields - bit of a newbie question Hi I need to have a startDate and endDate field in my form, and I'd like to prepopulate the endDate field with today's date. There's a bean that has set/getEndDate() methods, and I get to the form from an Action.perform() call What's the best way to prepopulate that field? -- 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]>

