IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

When you create a Struts module with the dedicated Web and Struts facets, IntelliJ IDEA configures the module, downloads and adds all the necessary libraries automatically.

To create a struts module with the dedicated facets
  1. 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.)

  2. On the fourth, Select the desired technologies, page of the wizard, select the Web Application check box.
  3. Select the Struts check box.
  4. In the drop-down list, select the relevant release number of the Struts framework. The available options are 1.2x and 1.3x.

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.

See Also



Web Resources: