If you search the archive you will find that there was a patch applied shortly after the beta 2 release for the StrutsValidator Class. I resolved mine by downloading the latest struts.jar only and it fixed the problem just fine. Or, you can download the source file and fix the problem and rebuild
See thread: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40614.html Peggy -----Original Message----- From: Nicolas Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:02 AM To: 'Struts Users Mailing List' (E-mail) Subject: date validation problem Hello, I use struts validator to check if a date that's not required has a correct format. It's working fine, but if the user leave the date field empty and submit the form, Struts generate an invalide date format error. Here's the sample of my validator.xml file : ... <field property="item.divers_dateLibre" depends="date" page="1"> <arg0 key="validator.item.divers_dateLibre"/> </field> ... Please, could you tell me how to inform Struts validation system that we only want to check if the date format is correct when the date is not empty? Thanks Nicolas -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>