Creating Struts enabled web projects

Struts is a framework for web application development that helps you create well-architected applications. The Struts tools in this product make it easier for you to create and test a Struts-based Web application.

Before you begin

You must be in the Web perspective.

About this task

Remember:

This product supports versions 1.0.2, 1.1x, 1.2x and 1.3x of the Apache Struts framework. Struts version 1.0.2 and 1.1.x are supported when an existing project is imported into your workspace. On project creation, you must select the Struts versions 1.2 or 1.3 facets. Struts versions 1.2 and 1.3 are only supported with web modules 2.3, 2.4 and 2.5.

To create a Struts enabled Web project:

Procedure

  1. In the Enterprise Explorer view, right-click and select New > Other > Web Project > Next.
  2. In the Project name field, enter the name of your web project and click Next.
  3. Select a Target Runtime from the drop down list. This field will be disabled if you previously created a project and set a target runtime.
  4. Select Web Module and click Change Features, then select Struts from the Project Facest list, version 1.3 is the default. Click OK.
  5. Click Finish.

What to do next

For more information on creating a Web project, refer to Creating web projects.

If you have a web project without Struts support, you can add Struts support.


Feedback