craigmcc 01/04/13 19:37:31 Modified: doc struts-bean.xml struts-html.xml struts-logic.xml Log: Document the fact that Struts custom tags store any underlying exception that causes a problem at runtime as a request attribute with key "org.apache.struts.action.EXCEPTION". Revision Changes Path 1.2 +8 -0 jakarta-struts/doc/struts-bean.xml Index: struts-bean.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/struts-bean.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- struts-bean.xml 2001/03/18 17:48:58 1.1 +++ struts-bean.xml 2001/04/14 02:37:31 1.2 @@ -24,6 +24,14 @@ based on the value of request cookies, headers, and parameters are also provided.</p> + <p>Many of the tags in this tag library will throw a + <code>JspException</code> at runtime when they are utilized incorrectly + (such as when you specify an invalid combination of tag attributes). JSP + allows you to declare an "error page" in the <code><%@ page %></code> + directive. If you wish to process the actual exception that caused the + problem, it is passed to the error page as a request attribute under key + <code>org.apache.struts.action.EXCEPTION</code>.</p> + <p>If you are viewing this page from within the Struts Documentation Application (or online at <a href="http://jakarta.apache.org/struts"> http://jakarta.apache.org/struts</a>), you can learn more about using 1.4 +9 -0 jakarta-struts/doc/struts-html.xml Index: struts-html.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- struts-html.xml 2001/04/03 18:45:34 1.3 +++ struts-html.xml 2001/04/14 02:37:31 1.4 @@ -21,6 +21,15 @@ input forms, as well as other tags generally useful in the creation of HTML-based user interfaces. </p> + + <p>Many of the tags in this tag library will throw a + <code>JspException</code> at runtime when they are utilized incorrectly + (such as when you specify an invalid combination of tag attributes). JSP + allows you to declare an "error page" in the <code><%@ page %></code> + directive. If you wish to process the actual exception that caused the + problem, it is passed to the error page as a request attribute under key + <code>org.apache.struts.action.EXCEPTION</code>.</p> + </info> <tag> 1.3 +9 -0 jakarta-struts/doc/struts-logic.xml Index: struts-logic.xml =================================================================== RCS file: /home/cvs/jakarta-struts/doc/struts-logic.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- struts-logic.xml 2001/03/31 21:41:15 1.2 +++ struts-logic.xml 2001/04/14 02:37:31 1.3 @@ -55,6 +55,15 @@ <code>start</code>), at the end (if location is set to <code>end</code>), or anywhere (if location is not specified).</li> </ul> + + <p>Many of the tags in this tag library will throw a + <code>JspException</code> at runtime when they are utilized incorrectly + (such as when you specify an invalid combination of tag attributes). JSP + allows you to declare an "error page" in the <code><%@ page %></code> + directive. If you wish to process the actual exception that caused the + problem, it is passed to the error page as a request attribute under key + <code>org.apache.struts.action.EXCEPTION</code>.</p> + </info>