Icons used by the Struts Explorer view

The Struts Explorer view helps you navigate through the various referenced parts of a Web application from a starting point such as a Web page, an Action mapping, a global forward, or, in Struts 1.1, a global exception. This view uses the following icons to represent various elements of the view:

Icon Element

Web application

A Web application in the workspace

Category

A folder that contains all of a category of elements that are in a particular Web application. The categories are as follows:

  • Web pages - JSP files that are in the Web application

  • Actions - Action mappings that are defined by the Struts configuration files

  • Global forwards - Global forwards that are defined by the Struts configuration files

  • Form beans - Form beans that are in the Web application

  • Global exceptions - (Struts 1.1 only) Global exceptions that are in the Web application

Web page

A JSP file in the workspace

Link

A link in a JSP file or an HTML file

Action mapping

An action mapping defined in a Struts configuration file

Form bean

A form bean in a Struts configuration file

Data-form-field get/set

A form-bean field or a dynaform field that has get and set methods

Data-form-field get

A form-bean field that has a get method only

Data-form-field set

A form-bean field that has a set method only

Action-mapping input

An indicator that the input attribute of the action mapping is set

Forward

A forward in a Struts configuration file

Error

An indicator that the part in question has an error

Warning

An indicator that the part in question has a warning

Global exception

An exception handler defined in a Struts configuration file

Action-mapping forward

An indicator that the forward attribute of the action mapping is set

Module

(Struts 1.1) A module node. This denotes a module that has been configured in this Web project. Its contained categories are module-specific. For example, in the Actions category, it contains only actions that are associated with this module.

Module transition

(Struts 1.1) A module transition node. This shows that you have moved from one module context to another module context in your Web application.

 

Example

To see an example of Struts Explorer icons for the sample program struts-example:

  1. Right click in the Project Navigator view, and click New > Project.

  2. On the Select page of the New Project wizard, click Examples > Web > Struts > Struts 1.1 > Struts 1.1 Example. Then click Next.

  3. On the Define the Web Project page, click Finish.

  4. If a Repair Server Configuration window pops up, click OK.

  5. In the Project Navigator, click the Struts Explorer tab.

  6. In the Struts Explorer view, double-click struts-example and navigate the hierarchy.

 

Related concepts

The Struts Explorer view

 

Related tasks

Viewing a Struts project's structure

Related reference
The Web diagram editor's palette

Feedback