Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
titleIDEA 7 vs. IDEA 8 vs. IDEA 9

Some features may be available in IDEA 8 ("Diana") EAP or IDEA 9 ("Maia") EAP only.
Please see Struts2PluginChangeNotes for more information.

titleGetting started

"Hello World" with Struts 2 and IntelliJ IDEA 8 - Detailed introductory blog post by Tabrez Iqbal


titlestruts-default.xml and struts-plugin.xml

struts-default.xml from struts2-core.jar as well as any struts-plugin.xml from plugins (e.g. Spring integration) have to be added manually to the fileset.

(tick) Dedicated facet with configuration options


Need to refactor your S2 application? Just use the Rename refactoring (Shift+F6) or perform Find Usages (Alt+F7 or Ctrl+Alt+F7):

(plus) Navigation to referenced elements


Simply Ctrl-click (or press Ctrl+B) on any element to navigate to its declaration - or take a peek without leaving the current editor using Quick Definition Lookup (Ctrl+Shift+I).


Click on the Action-class icon to quickly open the corresponding JAVA/Groovy-code class or Ctrl+click on the "action"-attribute to go to the struts.xml-definition:


(plugin "Spring Support" must be enabled and Spring facet configured properly)
Reference Spring beans where supported (e.g. in <action> "class" and , constant "value").

(minus) Support


Convention plugin
(tick) Integration with Tiles 2

(plugin "Struts 1.x" must be enabled)
IDEA 8.1.1/IDEA 9
struts2-tiles-plugin.jar must be present as well as Tiles libraries. Configured tiles.xml-files will be set automatically as described in

(question) Support for sitemesh.xml


Separate plugin.

(minus) Basic syntax highlighting support
(question) Full support for OGNL expressions, including resolving of available properties in S2 context