(Java/Struts Newbie)
I'm completely at a loss as to how to deal with date inputs in
struts. I've got two fields on this form: startDate and endDate.
<tr>
<td>Start Date:</td>
<td><html:text property="startDate"/></td>
</tr>
<tr>
<td>End Date:</td>
<td><html:text property="endDate"/></td>
</tr>
In my action form, I've got the line:
BeanUtils.copyProperties( grantDTO, grantForm );
Which fails because these aren't simple properties.
Can anyone please give me an example of dealing with dates in struts, or give me a high-level explanation of how to do it?
Thanks,
Jamie