You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ben <ne...@gmail.com> on 2005/01/14 04:16:35 UTC
URL validation isn't working
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org