error

Description: Gives access in the view to the previous stage execution exception thrown.

Remarks: Used for error pages. Will always be null in used in a normal stage view.

JavaDoc: Click here

Body content: JSP content.

Attributes: N/A

Variables: This tag defines in it's context the following variables:

Name Description Data type
error The error object with the generated exception ErrorDescriptor

This variable is accessible in the JSP through JSP 2.0 Expression Language.
A tutorial on how to use this language can be found in SUN's site here.
See the example bellow.

Examples:

<dif:document>
   <dif:error>
     <p>${error.description}</p>
   </dif:error>
   ...
</dif:document>

Back to tag reference