Hi,
I have a form that contains a text field in which I enter a date.
When I tried submitting the form I got the following error:
Failed to convert property value of type [java.lang.String] to required type [java.util.Date] for property 'date'
The code in the JSP page is like that:
<spring:bind path="invoice.date">
<input type="text" name="date" value="${status.value}"/>
</spring:bind>
How could I make this conversion?
Thanks in Advance.
Sherihan.


Reply With Quote