Exception Configuration

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0


Code Block
titleSample JSP using Error and Exception Values
<h2>An unexpected error has occured<occurred</h2>
    Please report this error to your system administrator
    or appropriate technical support personnel.
    Thank you for your cooperation.
  <h3>Error Message</h3>
      <s:property value="%{exception.message}"/>
    <h3>Technical Details</h3>
      <s:property value="%{exceptionStack}"/>

Exception in constructors

Global exception mappings are designed to be used with exceptions thrown by action methods (like execute). exceptions thrown from constructors will not be handled by global exception mappings.