dwinterfeldt 02/03/16 16:42:41 Modified: contrib/validator/web/example/WEB-INF struts-config.xml Log: Added the plugin definition for the ValidatorPlugin. Revision Changes Path 1.4 +11 -3 jakarta-struts/contrib/validator/web/example/WEB-INF/struts-config.xml Index: struts-config.xml =================================================================== RCS file: /home/cvs/jakarta-struts/contrib/validator/web/example/WEB-INF/struts-config.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- struts-config.xml 28 Feb 2002 06:09:59 -0000 1.3 +++ struts-config.xml 17 Mar 2002 00:42:41 -0000 1.4 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC - "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" - "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> + "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" + "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <!-- This is the Struts configuration file for the example application, @@ -94,5 +94,13 @@ <message-resources parameter="org.apache.struts.validator.example.ApplicationResources"/> - + + <!-- ========== Plug Ins Configuration ================================== --> + + <!-- Add multiple validator resource files by setting the pathname property --> + <plug-in className="org.apache.struts.validator.action.ValidatorPlugIn"> + <set-property property="pathname" value="/WEB-INF/validator-rules.xml"/> + <set-property property="pathname" value="/WEB-INF/validation.xml"/> + </plug-in> + </struts-config>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>