Enabling the Struts 2 framework support for developing Web applications in IntelliJ IDEA involves:
- Configuring the module, downloading and adding the required libraries. Use the dedicated Web and Struts 2 facets to have it done automatically.
- Defining the list of files to validate.
- Create a new module with the dedicated Web and Struts 2 facets. IntelliJ IDEA will download and add the necessary libraries and configure the project automatically.
Add the dedicated facets to an existing module.
A Struts 2 facet can be created only as a child of a Web facet. Make sure a Web facet is already attached to the module.