Hi

I am using Struts 1.2.4 and have the following settings in the validation.xml:

<field property="website" depends="url">
  <arg0 key="website"/>
  <var>
    <var-name>nofragments</var-name>
    <var-value>true</var-value>
  </var>
  <var>
    <var-name>schemes</var-name>
    <var-value>http,https</var-value>
  </var>
</field>

In my HTML form, I have this value for the website field:

http://www.ibm.com.au/

It is a valid URL but how come the validator says it is not valid?

Am I missing something?

Thanks,
Ben

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

Reply via email to