Installation

Eclipse Marketplace button (recommended)

Install StrutsClipse via Eclipse Marketplace button:

Drag and drop the Drag to your running Eclipse workspace to install StrutsClipse button into a running Eclipse instance and follow the Eclipse Marketplace Client installation wizard.

Eclipse Marketplace Client

Install StrutsClipse via Eclipse Marketplace Client:

  1. In the Eclipse click Help -> Eclipse Marketplace...
  2. Search for StrutsClipse.
  3. Click Install button and follow the installation wizard.

Update Site

Install StrutsClipse from the update site:

  1. In the Eclipse click Help -> Install New Software...
  2. In the installation dialog type the following url into Work with field and hit enter.
    https://aleksandr-m.github.io/strutsclipse/update/
  3. Check the latest version of StrutsClipse and follow the installation wizard.

Manual Installation

Download feature and plugin jars and put them in Eclipse features and plugins folders respectively.

For Apache Tiles support

Download additional feature and plugin jars and put them in Eclipse features and plugins folders respectively.

Overview

StrutsClipse provides Eclipse IDE integration for developing Apache Struts2 based applications.

Struts XML

Struts Validation XML

  • Content assist
    • Validator tag type attribute content assist
    • Field-validator tag type attribute content assist

Struts Tags

  • Content assist
    • Form tag action attribute content assist
    • Form tag namespace attribute content assist
    • Url tag action attribute content assist
    • Url tag namespace attribute content assist
    • Link tag action attribute content assist
    • Link tag namespace attribute content assist
    • Action tag name attribute content assist
    • Action tag namespace attribute content assist
    • Submit tag action attribute content assist
    • Include tag value attribute content assist
    • Text tag name attribute content assist
    • Theme attribute content assist
    • getText content assist
  • Hyperlinks
    • Form tag action attribute hyperlink
    • Url tag action attribute hyperlink
    • Link tag action attribute hyperlink
    • Action tag name attribute hyperlink
    • Submit tag action attribute hyperlink
    • Text tag name attribute hyperlink
    • getText hyperlink

Tiles XML

  • Content assist
    • Definition tag template attribute content assist
    • Definition tag extends attribute content assist
    • Put-attribute tag value attribute content assist
  • Hyperlinks
    • Definition tag extends attribute hyperlink
  • Validation
    • Definition name validation
  • Quick Outline
    • Improved Quick Outline

Struts XML

Content assist

Package tag extends attribute content assist

The list of proposals will show Struts2 standard packages names along with local package names.

Package extends content assist

Constant tag name attribute content assist

The list of proposals will show Struts2 default constants.

Constant name content assist

Bean tag class attribute content assist

The list of proposals will show java classes.

Bean tag scope attribute content assist

The list of proposals will show Struts2 bean scopes.

Action tag name and method attributes content assist

The list of proposals will show class methods suitable for action name/method.

Action method content assist

Action tag class attribute content assist

The list of proposals will show java classes.

Action class content assist

Result tag type attribute content assist

The list of proposals will show Struts2 result types.

Result type content assist

Result tag name attribute content assist

The list of proposals will show Struts2 standard results names.

Result name content assist

Result tag body content assist

Depending on the value of the result type attribute, the list of proposals will show different results.

Apache Tiles definitions from the tiles configuration files located in the project.

Result body tiles definitions content assist

JSP and HTML files in the web directory.

Result body content assist

FreeMarker ftl files in the web directory.

Result body freemarker content assist

Actions in struts.xml.

Result body action content assist

Result tag body content assist will also work in the location param tag.

Result body in param tag content assist

Hyperlink to the Struts2 package declaration.

Hyperlink to the action class method declaration.

Action method hyperlink

Depending on the result type hyperlink to the Tiles definition or JSP, HTML, FreeMarker file or action.

Result body hyperlink

Validation

Package name validation

Package tag names will be validated for duplicates.

Constant name validation

Constant tag names will be validated for duplicates.

Action name validation

Action tag names will be validated for duplicates.

Action name validation

Action method validation

Action tag method will be checked for existence.

Action method validation

Quick Outline

Improved Quick Outline

Improved Quick Outline with the search by the action tag name.

Improved Quick Outline