-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harsh,
Chaudhary, Harsh wrote: > There is no specific reason, But we have one custom validation, So is it > good practice to revamp the entire the validator.xml file then? Well, there's no reason to put everything into one file. I had this same problem (upgrading between commons-validator releases, and from Struts 1.2 to 1.3), and then I read that you can use more than one file. Now, I have this in my struts-config.xml: <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/org/apache/struts/validator/validator-rules.xml, /WEB-INF/my-validator-rules.xml, ..." /> </plug-in> Note that you can use the stock validator-rules.xml file directly from within the JAR file that it comes with. Just add your own rules file after that. Then, at least, you only have to update your own file (and source files as well) when you upgrade. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF0kQj9CaO5/Lv0PARAuzPAKClljgIqBGsTdPN/zrlVypgqKQoRQCgs+P2 fk4WAxDk8zAQaYY/8LEj9eg= =8C+F -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]