You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@locus.apache.org on 2000/06/23 19:37:55 UTC
cvs commit: jakarta-struts/web/documentation users_guide.html
craigmcc 00/06/23 10:37:53
Modified: web/documentation users_guide.html
Log:
Fix typos -- the top element in action.xml is <action-mappings> not
<action-mapping>. Thanks to Markus Balurock <bl...@dig.se> for
restoring my faith in humanity -- someone actually does read the docs :-)!
Revision Changes Path
1.6 +4 -4 jakarta-struts/web/documentation/users_guide.html
Index: users_guide.html
===================================================================
RCS file: /home/cvs/jakarta-struts/web/documentation/users_guide.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- users_guide.html 2000/06/20 16:34:10 1.5
+++ users_guide.html 2000/06/23 17:37:51 1.6
@@ -6,7 +6,7 @@
<div align="center">
<h1>Struts User's Guide</h2>
-<h3>$Id: users_guide.html,v 1.5 2000/06/20 16:34:10 craigmcc Exp $</h3>
+<h3>$Id: users_guide.html,v 1.6 2000/06/23 17:37:51 craigmcc Exp $</h3>
</div>
@@ -981,7 +981,7 @@
<code>action.xml</code>, and place it in the WEB-INF directory of your
application. (Note that no DTD for this file is required, because the
actual attributes used can be different for different users.) The
-outermost XML element must be <code><action-mapping></code>, and
+outermost XML element must be <code><action-mappings></code>, and
within this element are nested zero or more <code><action></code>
elements -- one per mapping that you wish to define.</p>
@@ -989,7 +989,7 @@
the following mapping entry for the "log on" function, which we will use
to illustrate the requirements:</p>
<pre>
- <action-mapping>
+ <action-mappings>
<action path="/logon"
actionClass="org.apache.struts.example.LogonAction"
@@ -999,7 +999,7 @@
<forward name="success" path="/mainMenu.jsp"/>
</action>
- </action-mapping>
+ </action-mappings>
</pre>
<p>As you can see, this mapping matches the path <code>/logon</code> (actually,