IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

When you add the Struts facet to an existing module, IntelliJ IDEA downloads and adds the necessary libraries automatically.

A Struts 2 facet can be created only as a child of a Web facet. If the module has no Web facet, create it first.


This will change the configuration of the module.

To add the dedicated struts facet to an existing module
  1. Open the Module Settings dialog box.
  2. In the Modules node, right-click the relevant module.
  3. To add a Web facet, choose New from the context menu. In the drop-down list of available facets, select Web.
  4. Right-click the Web node and select New on its context menu.
  5. Select Struts on the context menu of available facets. The right-hand pane displays the Facet 'Struts' dialog.
  6. Customize the default Struts facet settings in the Struts Features and Validation tabs.
  7. If some additional libraries are required, the corresponding warning message displays. Click Fix. The necessary libraries will be downloaded and added automatically.

See Also




Web Resources: