Home

 

Creating the Struts components

There are several ways to create Struts components:

In the Enterprise Explorer, expand and right-click RAD75StrutsWeb Æ Struts and select New to create a Struts Module, Action Mapping, Form Bean, Global Forward, and Global Exception.

Using the Struts Configuration Editor: Application Developer provides a Struts Configuration Editor, which is used to create Struts components and to modify the Struts configuration file struts-config.xml. We describe how to use the Struts Configuration Editor in detail in Using the Struts Configuration Editor.

In the Struts Web Diagram Editor, use the Struts Palette to create Struts components.

In this chapter, we take a top-down approach to design the Web application by laying out all the components in the Web diagram using the Web Diagram Editor.

This section is organized into the following tasks:

Starting the Web Diagram Editor

Creating a Struts action

Creating a Struts form bean

Creating a Web page

Creating a Struts Web connection
ibm.com/redbooks