Author: niallp
Date: Wed Feb 22 00:21:18 2006
New Revision: 379730

URL: http://svn.apache.org/viewcvs?rev=379730&view=rev
Log:
Doc correction, Bug 37538 - SwitchAction is now in struts-extras and remove 
duplicated example - patch submitted by Christian Meder

Modified:
    struts/action/trunk/xdocs/userGuide/configuration.xml

Modified: struts/action/trunk/xdocs/userGuide/configuration.xml
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/xdocs/userGuide/configuration.xml?rev=379730&r1=379729&r2=379730&view=diff
==============================================================================
--- struts/action/trunk/xdocs/userGuide/configuration.xml (original)
+++ struts/action/trunk/xdocs/userGuide/configuration.xml Wed Feb 22 00:21:18 
2006
@@ -637,9 +637,9 @@
                 <p>
                     There are three approaches for switching from one module
                     to another.
-                    You can use the built-in
+                    You can use the
                     <code>org.apache.struts.actions.SwitchAction</code>
-                    ,
+                    from the Struts Extras subproject,
                     you can use a
                     <code>&lt;forward&gt;</code>
                     (global or local) and specify the contextRelative
@@ -715,28 +715,6 @@
    ...
    </action-mappings>
    ]]></source>
-
-                <p>
-                    Or, you can use
-                    <code>org.apache.struts.actions.SwitchAction</code>
-                    :
-                </p>
-
-                <source><![CDATA[
-   <action-mappings>
-   <action path="/toModule"
-           type="org.apache.struts.actions.SwitchAction"/>
-   ...
-   </action-mappings>
-   ]]></source>
-
-                <p>
-                    Now, to change to ModuleB, we would use a URI like this:
-                </p>
-
-                <source>
-                    
http://localhost:8080/toModule.do?prefix=/moduleB&amp;page=/index.do
-                </source>
 
                 <p>
                     Using the module parameter with a hyperlink tag is even



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

Reply via email to