Exception and error management

This feature of Struts Extensions controls the errors and exceptions that have not been managed by the invokers or business processes. The following standard functionality is provided:

The toolkit Struts Extensions component uses the Declarative Exception Handling component of the Apache Struts framework to handle exceptions. The Declarative Exception Handling component provides both externally defined error messages and exception handlers.

Here is a sample exception handler definition in the struts-config.xml file:
<global-exceptions>
	<exception type="java.lang.Exception" 
		scope="request" 
		Handler="com.ibm.btt.struts.exception.BTTBaseExceptionHandler" 
		path="/errorpage.jsp"/>
</global-exceptions>