Change the type of date type to java.sql.Date you won't get that
exception. This is because the Beanutils which they use to copy the data
form request to form is not having a corresponding converter to convert
to java.util.Date but it has a converter to convert to sql date

Thanks

Karuna

-----Original Message-----
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 02, 2003 1:10 PM
To: Struts Users Mailing List
Subject: Struts validator with Date property ???


In my Form a hava a property java.util.Date, I can use the validator
Struts? Or I just can have properties "Strings" ??? in my textfiels on
form??? In the Struts' webapps has a example, the use only String to
input of data...

I got

 java.lang.IllegalArgumentException: argument type mismatch


Thanks, for help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to