Date: 2005-01-10T15:11:19 Editor: JoeGermuska Wiki: Apache Struts Wiki Page: StrutsChain URL: http://wiki.apache.org/struts/StrutsChain
change references to CVS into references to SVN Change Log: ------------------------------------------------------------------------------ @@ -1,9 +1,9 @@ '''struts-chain''' was a package designed to open up the RequestProcessor chain to more flexible extension. It was moved into the Struts Core repository and work is well under way to making Struts 1.3.x default to using ComposableRequestProcessor and commons-chain commands to services HTTP requests. -Some of the changes for this are fairly wide ranging, so it is risky to commit them to CVS until more is accomplished. We'll use this page to discuss implementation plans and questions, and to link to interim distributions. +Some of the changes for this are fairly wide ranging, so it is risky to commit them to SVN until more is accomplished. We'll use this page to discuss implementation plans and questions, and to link to interim distributions. -=== What's in CVS === -The code committed to CVS is substantially similar to the old standalone struts-chain project. Here is a summary of the changes: +=== What's in SVN === +The code committed to [http://struts.apache.org/acquiring.html#SourceCode SVN] is substantially similar to the old standalone struts-chain project. Here is a summary of the changes: * Struts has been updated so that the ActionServlet initializes chain catalogs using the value of the init parameter '''chainConfig''', which should consist of one or more paths to XML files which can be processed by the standard Chain [http://jakarta.apache.org/commons/chain/apidocs/org/apache/commons/chain/config/ConfigParser.html ConfigParser]. The paths may be either classpath resources or servlet context resources; the initialization process has methods for checking in both places without additional configuration. This and the changes to the RequestProcessor obsolete the CatalogConfiguratorPlugIn. If no '''chainConfig''' parameter is specified, then Struts defaults to looking for '''org/apache/struts/chain/chain-config.xml''' which is included in struts.jar. If any '''chainConfig''' value is specified, then if you also want Struts to use the default config, you must include it in the list of config files. * Struts has been adjusted to use the ComposableRequestProcessor by default. You may switch back to the original RequestProcessor by specifying it as the '''processorClass''' in the '''<controller>''' element of your '''struts-config''' file. By default, the ComposableRequestProcessor begins processing with the '''servlet-complete''' command in the '''struts''' catalog. This may be changed by specifying the '''catalog''' and '''command''' attributes in the '''<controller>''' element of your '''struts-config''' file. @@ -21,8 +21,8 @@ === Where can I get it? === -[http://www.apache.org/~germuska/struts-1.3.0-dev/ Non-CVS development builds] last updated 2005-01-10 +[http://www.apache.org/~germuska/struts-1.3.0-dev/ Non-SVN development builds] last updated 2005-01-10 -The archives available above are to output from a '''maven dist''' run against a local copy. These changes are not in CVS and are not meant for production use. They are provided to get feedback from interested parties. +The archives available above are to output from a '''maven dist''' run against a local copy. These changes are not in SVN and are not meant for production use. They are provided to get feedback from interested parties. This latest build has never been executed. It compiles, but there's no guarantee that the chain config is right or that the implementation classes are doing the right things. Valiant testers are welcome! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]