The error page

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 Run > Run on Server. When the input JSP page displays in the browser view, enter data in one of the input fields and click 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:

The error page is divided in four sections, the first of which describes the cause of the problem and recovery instructions. The following sections can be expanded (by clicking on +) to provide more detail:
Request details
Contains information about the Web request that generated the error.
Stack trace
Contains the complete stack trace that caused the error.
iSeries joblog
Contains the joblog of the iSeries job that was servicing this Web request.