Exercise 1.1: Reviewing the Web customer inquiry application

In the tutorial called Build a Web user interface for an RPG application using iSeries Web Tools you created a simple e-business customer inquiry application that uses a Web-based front end to communicate with RPG business logic residing on an iSeries server. You invoked the Web Interaction wizard to create the input and output pages and to create the servlet to invoke the RPG program or service program to get data from the iSeries database. Next you added this RPG program or service program to the Web application. Finally you tested the application in the local test environment on your workstation. You also created an informative error page for when a customer entered an incorrect customer number.

Here is what the finished e-business customer inquiry application looked like.

After the WebSphere server started, your Web application Customer Inquiry input page (inquiry.jsp) displayed in the workbench browser.
Customer Inquiry input page
When you entered a customer number and clicked the Submit push button, the Customer Details output page (result.jsp) appeared.
Customer Details Output or Result page
Next, you clicked the Back button in the browser to return to the Customer Inquiry input page. Here you entered an incorrect customer number and clicked Submit.
Incorrect input
An error message appeared.
Error message
You then added a new output error page to improve the message information so that if a wrong customer number was entered,
Entering wrong customer number
an error page opened instead of a message.
Error Page

You have viewed the completed pages of the customer inquiry Web application and now you are ready to begin Exercise 1.2: Introducing the enhanced Web application.