Results 1 to 2 of 2

Thread: Date

  1. #1

    Default 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. #2
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

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

Similar Threads

  1. Replies: 17
    Last Post: Jan 2nd, 2007, 01:43 PM
  2. Date format using JDBC Template
    By macmeureg in forum Data
    Replies: 5
    Last Post: Jun 29th, 2005, 10:18 AM
  3. Replies: 3
    Last Post: Apr 5th, 2005, 09:20 PM
  4. Date Field Validation
    By sherihan in forum EJB
    Replies: 0
    Last Post: Feb 7th, 2005, 04:58 AM
  5. Date Property Editors
    By smv in forum Web
    Replies: 2
    Last Post: Aug 29th, 2004, 01:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •