validation-rules.xml is here.... http://cvs.apache.org/viewcvs.cgi/jakarta-struts/conf/share/
....but, with struts 1.2 the javascript moved out of the XML into .js files in commons here: http://cvs.apache.org/viewcvs.cgi/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/ However, although there is a validateUrl method in the struts FieldChecks class, I don't think the validation-rules.xml shipped with struts has ever had a validator defined which uses it and therefore there is no javascript in 1.1 and there doesn't appear to be a valudateUrl.js file in struts 1.2. Doesn't make alot of sense to me, to go to the trouble of writing a validateUrl method in FieldChecks and not ship the config - maybe somone else will know more Niall ----- Original Message ----- From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 4:44 PM Subject: validator-rules.xml > Where can I get the latest validator-rules.xml from? > > I looked for it on jakarta-struts website and jakarta-commons, but can't > find it. Even checked the archives before coming here to make myself > look foolish. > > Obviously I am assuming that this is a standard part of the code base - > or is it? I need the latest javascript for the validate-url rule, that's > why. But then it occurred to me that it might be the same as > struts-config.xml, i.e. roll-your-own. > > Thanks > Adam > -- > struts 1.1 + tomcat 5.0.16 + java 1.4.2 > Linux 2.4.20 Debian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

