JBoss.orgCommunity Documentation
JBoss Tools supports working with Struts projects that have multiple modules. You can easily do the following:
Add new modules
Edit modules for an existing project or during Struts project import
Now, let's discuss this functionality in more detail.
During Struts project import, if the project has multiple modules, you will see a screen with all existing modules. You can select each module and edit its details.
To edit modules in an existing project, right click the project in Web Project view and select
→ (or right click the project in Package Explorer view and select → ).You will see the same screen as above where you will be able to select a module and edit its details.
Adding a new module is very simple. First switch to Web Project view. Expand your project to the Configuration folder. Under that folder you should see the current modules. Right click on Configuration and select
→ .
You will see the screen below. You can specify a new module name and also add the new Struts configuration file to the web.xml
file.