Announcement Announcement Module
Collapse
No announcement yet.
Date Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Date

    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.

  • #2
    You're in the wrong forum, you need the web forum ( http://forum.springframework.org/viewforum.php?f=3 )

    Comment

    Working...
    X