Hi, You put as many xml files as you want, but they must be described in your struts-config.xml file:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml,/WEB-INF/validat ion2.xml"/> </plug-in> The only prerequisite is that validator-rules.xml is the one provided with Struts distribution. So, naming your file validator.xml or validation.xml doesn't matter. Vincent -----Original Message----- From: Vincent Stoessel [mailto:vincent@;xaymaca.com] Sent: Thursday, October 24, 2002 11:01 PM To: Struts Users Subject: Validator files questions In my struts 1.1b2 dist, I got 3 Validator related files in my WEB-INF. validator-rules.xml validation.xml validator.xml In Chuck's book, he only refers to the first 2. What is validator.xml for? Thanks. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>