170 Using IBM WebSphere Host Access Transformation Services V5
2.5.1 Creating Struts
In this section, we use an existing IO to generate a Struts-based application. The
IO that we use is the TCHM2 IO generated in 2.3, “Using HATS with a 3270
application” on page 139.
1. Select project name (ox_io)
Source Integration Object TCHM2.
Right-click and select Create Struts Web Pages as shown in Figure 2-102.
Figure 2-102 Creating struts
Chapter 2. Integrating HATS with business applications 171
2. In the Create Struts Web Pages – Basic Information window (Figure 2-103),
you can change the basic parameters of the Struts application such as name
of the Input and Output page and destination. For this example, leave the
parameters as the default and click Next.
Figure 2-103 Basic information panel
172 Using IBM WebSphere Host Access Transformation Services V5
3. In the Create Struts Web Pages – Define Inputs window (Figure 2-104), you
can change the input form definition or the name of the label used in the Web
environment as the name of the input form. In our example, simply click Next.
Figure 2-104 Define inputs panel
Chapter 2. Integrating HATS with business applications 173
4. In the Create Struts Web Pages – Define Outputs window (Figure 2-105), you
can change the output result definition or the name of the label that is used in
the Web environment as the name of the output result. To finish the creation
of the Struts application, click Finish.
Figure 2-105 Defining outputs

Get Using IBM WebSphere Host Access Transformation Services V5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.