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 NiallPemberton: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 The comment on the change is: Notes about Chain 1.1, Validator 1.3.0 changes and tiles chain-config.xml bug ------------------------------------------------------------------------------ === 3.1 Chain 1.0 === Struts 1.3 introduces a new dependency on [http://jakarta.apache.org/commons/chain/ Commons Chain] version 1.0. - remember to deploy the Chain jar + + '''''N.B.''''' Struts 1.3.5 was released with a dependency on '''Chain 1.0''' - however '''Chain 1.1''' is now + [http://jakarta.apache.org/site/downloads/downloads_commons-chain.cgi available for download] with a number of [http://jakarta.apache.org/commons/chain/changes-report.html bug fixes] === 3.2 File Upload 1.1.1 === Struts 1.3 has an ''optional'' dependency on @@ -42, +45 @@ "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd"> }}} * If you change the doctype you will have to change the deprecated ''arg0-arg3'' elements to ''arg'' elements. + * The main improvements between '''Validator 1.1.4''' and '''Validator 1.3.0''' are described [http://wiki.apache.org/jakarta-commons/ValidatorVersion120 here] * You must upgrade to the new version of validator-rules.xml. This file is included in struts-core-1.3.x.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: @@ -91, +95 @@ <param-value>org/apache/struts/tiles/chain-config.xml</param-value> </init-param> }}} + + '''''N.B.''''' The tiles {{{chain-config.xml}}} included with '''Struts 1.3.5''' has two commands missing from the configuration + (see [https://issues.apache.org/struts/browse/STR-2935 Issue #STR-2935]) - this can be rectified by downloading + [http://svn.apache.org/viewvc/struts/struts1/trunk/tiles/src/main/resources/org/apache/struts/tiles/chain-config.xml?revision=436861&view=markup this version of the tiles chain-config.xml] In addition to configuring the ComposableRequestProcessor to use the provided Tiles chain config file, you should also update the '''DOCTYPE''' definition in your ''tiles-defs.xml'' file:
