Author: mrdon
Date: Sun Nov 27 19:43:30 2005
New Revision: 349354
URL: http://svn.apache.org/viewcvs?rev=349354&view=rev
Log:
Improved the clarity of the parameter passing section
Modified:
struts/scripting/trunk/xdocs/user-guide.xml
Modified: struts/scripting/trunk/xdocs/user-guide.xml
URL:
http://svn.apache.org/viewcvs/struts/scripting/trunk/xdocs/user-guide.xml?rev=349354&r1=349353&r2=349354&view=diff
==============================================================================
--- struts/scripting/trunk/xdocs/user-guide.xml (original)
+++ struts/scripting/trunk/xdocs/user-guide.xml Sun Nov 27 19:43:30 2005
@@ -125,8 +125,11 @@
<pre>
parameter="/path/file.bsh?PARAMETER_NAME=PARAMETER_VALUE[&amp;PARAMETER_NAME=PARAMETER_VALUE..]"
</pre>
- <p>One example of how passed parameters can be used is have one script
file
- handle multiple actions.</p>
+ <p>This ability to pass parameters can enable DispatchAction-type
behavior where one script file
+ can handle multiple action paths. If you are using Struts Action
1.3 or later, this feature
+ isn't as useful since you can pass multiple values through
ActionMapping using the
+ <code><set-property key="foo" value="bar"<</code> syntax.
+ </p>
<p>
Before the script completes, the next ActionForward needs to be
specified. This can be done one of two ways:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]