> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: Wednesday, May 09, 2007 11:26 AM > To: user@struts.apache.org > Subject: Re: Struts 1.3.8 and URL Validation > > > [EMAIL PROTECTED] wrote: > >> There is no JavaScript implementation of the url validation. > >> > >> Niall > > > > Does it mean that the default "url" validator in validation.xml > > doesn't work? > > No, it means that it only works on the server-side; there is > no client > side validation for this rule type. > > L.
Ok, I'm a bit confused here. Can you please tell me how I can make use of the "URL" validator in validation.xml? I was referring to the Struts 1.x FAQs on this page: http://struts.apache.org/1.x/faqs/validator.html And the entry on that page for URL validator tells me that I can declare it as: <field property="custUrl" depends="url"> <arg position="0" key="customer.url"/> </field> And this is same as what I have done: <field property="vendorURL" depends="url"> <arg key="form.vendor.VendorURL" position="0"/> </field> So, my question is, if this is not working, what else do I have to do to get it working? Thanks. -Pushkar.