Hey,
i am trying to validate the input of a form bean containing various fields. One of the fields requires the entry of an URL. The field-tag in my validation.xml looks like that: <field property="otherProperty(webURL)" depends="required,url"> <msg name="required" key=" errors.required"/> <msg name="url" key="errors.url"/> <arg key=" webURL" position="0"/> <var> <var-name>allowallschemes</var-name> <var-value>false</var-value> </var> <var> <var-name>schemes</var-name> <var-value>http</var-value> </var> </field> Validation works just fine with all the other fields, but not with this one. When I leave it empty, I get an error-msg, that's okay, when i enter an invalid url I also get an error-msg, still okay. but when I enter a valid url (example: <http://www.myurl.com/> http://www.myurl.com) I also get the message that this is an invalid url, which is not okay, cause as long as I am not able to enter valid urls my form bean will never parse. What am I doing wrong? Why is struts telling me that every valid url I enter is invalid? Best regards Franck