Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by WendySmoak:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

The comment on the change is:
Updated suggested ValidatorPlugin config.

------------------------------------------------------------------------------
  
   * Validator 1.2 will recognize config files from prior versions.  
Optionally, you may
  
-   * Upgrade to the new version of validator-rules.xml
- 
    * Change the doctype declaration at the top of validation.xml to refer to 
the dtd for version 1.2
  
  {{{
      <!DOCTYPE form-validation PUBLIC
           "-//Apache Software Foundation//DTD Commons Validator Rules 
Configuration 1.2.0//EN"
           "http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd";>
+ }}}
+ 
+    * Upgrade to the new version of validator-rules.xml.  This file is 
included in struts-action.jar, so the easiest way to upgrade is to delete any 
copies you may have in your application and use the following Validator Plugin 
configuration:
+ 
+ {{{
+   <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
+     <set-property
+         property="pathnames"
+         value="/org/apache/struts/validator/validator-rules.xml,
+                /WEB-INF/validation.xml"/>
+   </plug-in>
  }}}
  
  == 4 Deprecations which have been removed ==

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to