You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rick Reumann <ma...@reumann.net> on 2003/01/06 16:08:34 UTC
Re[2]: Date Formats
On Monday, January 6, 2003, 9:16:15 AM, Bill wrote:
SB> Struts does not convert Strings to dates --
A nice why to deal with Date conversions though is to use
BeanUtils.copyProperties(..) and make sure you have a bean(DTO) to hold the
correct properties (ie. java.util.Date, etc ). You have to register a
Date converter and String converter but the code is here at this link
in the archives and it explains what to do:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg47558.html
--
Rick
mailto:maillist@reumann.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>