A Use error page option is on the first page of the Web Interaction wizard, Specify a Name and Location for your Web Interaction.
A default file, error.jsp, is added to your Web project when you open the Web Interaction wizard. When a run-time error occurs, this error page displays in the browser. The error page contains information that can help you diagnose the problem. Once the page has been added to your Web project, you can customize it for your purposes. However you need to ensure that you do not remove the lines of code that are contained within the <% and %> characters in the file.
To illustrate the results of a run-time error, assume that
in testing your Web application in the local WebSphere test environment, you
do not have a program on the host. Run the application locally by right-clicking
the input JSP file and selecting Submit.
When the application starts to run and attempts to communicate with the non-existent
program, a run-time error occurs and the error.jsp page displays in the browser
view. The following is an example of the error page:
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.