User: pathoss
Date: 02/03/25 06:50:33
Modified: core/docs struts.html
Log:
Updated declarative exceptions according to DTD. Added docs.
Revision Changes Path
1.10 +50 -2 xdoclet/core/docs/struts.html
Index: struts.html
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/docs/struts.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- struts.html 8 Feb 2002 11:05:42 -0000 1.9
+++ struts.html 25 Mar 2002 14:50:33 -0000 1.10
@@ -87,7 +87,9 @@
<tr>
<td>validateXml</td>
<td>Validates the generated xml file according to the DTD file contained
- inside xdoclet.jar.</td>
+ inside xdoclet.jar. Please note that the current support for Struts 1.1
+ beta is not complete. You have to put validateXml to <code>false</code>
+ if you use Struts 1.1 specific features (for example declarative
exceptions).</td>
<td>No, default is false</td>
</tr>
</table>
@@ -111,6 +113,11 @@
<td align="center" valign="top">No</td>
</tr>
<tr>
+ <td>global-exceptions.xml</td>
+ <td>The file where the global exceptions are defined.</td>
+ <td align="center" valign="top">No</td>
+ </tr>
+ <tr>
<td>struts-actions.xml</td>
<td>The file where additional actions are defined.</td>
<td align="center" valign="top">No</td>
@@ -168,11 +175,52 @@
</tr>
<tr valign="top">
<td><i>[name]</i>: String</td>
- <td>The name of the forward</td>
+ <td>The name of the forward.</td>
</tr>
<tr>
<td><i>[path]</i>: String</td>
<td>The path of the forward.</td>
+ </tr>
+</table>
+
+<h4><a name="action-forward">@struts:exception</a></h4>
+
+<p>Describes a mapping of an exception that may occur during Action delegation and
+should be handled by the ActionServlet. <strong>Struts 1.1 only.</strong></p>
+
+<table border="1" cellpadding="7">
+ <tr valign="top">
+ <td>Parameter</td>
+ <td>Usage</td>
+ </tr>
+
+ <tr>
+ <td><i>[className]</i>: String</td>
+ <td>Implementation subclass of the standard configuration bean, if you
+ do not want to use the standard value.
[org.apache.struts.config.ExceptionConfig]</td>
+ </tr>
+ <tr>
+ <td><i>[handler]</i>: String</td>
+ <td>Fully qualified Java class name of the exception handler which should
+ handle this exception. [org.apache.struts.action.ExceptionHandler]</td>
+ </tr>
+ <tr>
+ <td><i>[key]</i>: String</td>
+ <td>Message resources key specifying the error message associated with this
exception.</td>
+ </tr>
+ <tr>
+ <td><i>[path]</i>: String</td>
+ <td>The application-relative path of the resource to forward to if this
exception occurs.</td>
+ </tr>
+ <tr>
+ <td><i>[scope]</i>: "request" |
+ "session"</td>
+ <td>Identifier of the scope ("request" or "session") within which
+ the resulting ActionError will be made accessible.</td>
+ </tr>
+ <tr>
+ <td><i>[type]</i>: String</td>
+ <td>Fully qualified Java class name of the exception that is to be handled.</td>
</tr>
</table>
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel