Struts auto-population of util.Date
0 posts in topic
Flat View  Flat View

Posted By:   A1222_A1222
Posted On:   Monday, March 7, 2005 08:17 AM


I have a form bean containing a collection of value objects and one of the attributes of this value object is a java.util.Date. Now this property is linked with a html:text field. Now the problem is that struts does not auto populate this property when I submit the form.
I looked at the struts source code and it seemed to me that struts is using java.sql.Date for representing Date rather that java.util.Date.

Doesnt struts auto-populate uti.Date attributes of form bean? Any help in this regard will be appreciated.

Thanks in advance

About | Sitemap | Contact