IntelliJ IDEA supports integration with the Struts 2 framework for creating Java EE and Web Applications.
IntelliJ IDEA provides the following support of the Struts 2 framework:
- Automatic creation of the specific module structure and the Web application deployment descriptor
web.xmlbased on the dedicated Web facet.
- Downloading and adding the necessary libraries automatically and creating the Struts 2
application configuration file
struts.xmlbased on the dedicated Struts 2 facet.
- A file set manager, library validator, and automatic detection of configuration settings.
- Coding assistance, including code completion, syntax and error highlighting, documentation lookup, and refactoring.
- Multiple code inspections that spot code issues specific for Struts 2.
- Smart navigation across Java, JSP and XML files.
- Graphic view for the
- Java EE preview for JSP and JSF pages.
- Structure tool window that provides navigation across the native Struts 2 application structure and displays Struts 2 actions.
To develop a Web application using Struts 2, follow these general steps
Last modified: 13 July 2016