Home

 

Creating a Web page

Now that we have created the logon action and the logonForm action form, we have to create the input and output pages for the logon action. The input page (logon.jsp) lets the customer enter a customer ID (SSN) through the input form.

To create the logon.jsp and customerListing.jsp Web pages, do these steps:

From the Web Parts drawer of the Palette, drag and drop the Web Page icon () into the Web diagram and type logon.jsp as the page name.

Repeat this to create the customerListing.jsp .

Figure 15-9 Struts components: Create Web pages

Two JSP files (with skeleton tags) are created under WebContent.
ibm.com/redbooks