-
Create a Java module from scratch.
On the first page of the wizard, select Java Module, not Web Module. (The Web module type is for developing web applications using programming languages other than Java, for example, PHP, or JavaScript, or markup languages.)
- On the fourth, Select the desired technologies, page of the wizard, select the Web Application check box.
- Select the Struts check box.
- In the drop-down list, select the relevant release number of the Struts framework. The available options are and .
IntelliJ IDEA configures the new module as follows:
- Creates the structure of the module with the Web and WEB-INF nodes.
- Creates a Web application deployment descriptor Web.xml under the WEB-INF node for versions 2.2 - 2.5.
- Creates a Struts configuration file struts-config.xml under in the WEB-INF node.
- Configures an Action servlet in Web.xml.
- Downloads and installs the libraries that implement Struts support.

