Adding Struts Capability to an Existing Web Application
With Exadel Studio you can add Struts capabilities (including Struts libraries, tag libraries, and a Struts configuration file) to any existing Web application project in your Eclipse workspace. By adding a Struts Nature to your project, you can now edit files using Exadel Studio editors, such as the Struts configuration editor and the Exadel JSP editor.

Right-click the project and select Exadel Studio/Add Struts Capabilities from the context menu. This will start the process of adding all the necessary libraries and files to make this a Web JSF project.

The wizard will first show you the web.xml file location and the project name.

After hitting Next, you will see the following screen. This screen simply means that you need to add at least one Struts module to your project to make this project a Struts project. Adding a Struts module means that a new struts-config.xml will be added to your project and registered in the web.xml file. In addition, all the required Struts libraries will be added. To add a Struts module, select the Add Struts Support button.

Here you can select what Struts version, Servlet class, URL pattern and TLDs to add to this project.

When done, you will see the default Struts module configuration information. See how to edit Struts modules.

On the last screen you can set the different folders for your project as well as register this application with a servlet container.

When done, you can open the struts-config.xml file. (The Struts configuration is shown below in the Tree viewer.)
