Portlet Factory, Version 6.1.2
Displaying a custom error page for unhandled errors
You can display your own error page when an error that is not handled by an Error Handler builder occurs in a model. Do one of the following:
The Throwable instance of the Java Exception object is automatically made available to the JSP error page to be displayed or logged.
- Override the default page provided and substitute your own JSP error page (preferred).
- Create an alternate JSP error page for display.
- Make a backup copy the existing default error page factory/webapp/defaulterror.jsp.
- Modify the original as required.
Your alternate JSP page can be overwritten if you upgrade WebSphere Portlet Factory versions.
Parent topic: Advanced error handling techniques Parent topic: About error handling in web applications
Library | Support |