Apache Struts 2 provides a simple plugin architecture so that developers can extend the framework just by adding a JAR to the application's classpath (in addition to whatever JARs may be required to fulfill the dependencies of the plugin itself). Since plugins are contained in a JAR, they are easy to share with others. Here, we list plugins available for Struts 2 and provides help on how to use them.

Contributed plugins may be of varying quality. If not bundled with the official Struts 2 distribution, a plugin cannot be guaranteed to be safe. You install plugins from this space at your own risk. We do not monitor or guarantee any code posted in this space. If you find dangerous or malicious code posted here, please contact the Struts User mailing list immediately.

To follow plugin development, subscribe to these feeds with any RSS reader:

Table of content:

Announcements

Blog Posts


(tick) To announce a plugin that is hosted elsewhere, register with this wiki, and create a new "News" announcement.


Plugins


Plugins listed here were bundled with Struts 2, they are now officially supported by Struts Community. You can find more details about given plugin in Struts 2 Documentation Plugin Developers Guide.

Bundled
  • REST Plugin — provides tools to build RESTful applications
  • Config Browser Plugin — a simple tool to help view your Struts configuration at runtime
  • Convention Plugin — a code by convention and component plugin similar to the Codebehind and Zero-config plugins
  • DWR Plugin — provides integration with the Ajax framework Direct Web Remoting http://getahead.org/dwr
  • JasperReports Plugin — enables Actions to return reports through JasperReports
  • Java Templates Plugin
  • JFreeChart Plugin — allows Actions to easily return generated charts and graphs
  • JSON Plugin — provides a "json" result type that serializes actions into JSON
  • JUnit Plugin — provides integration with the popular JUnit http://junit.org unit testing framework
  • OSGi Plugin — provides support for starting an instance of Apache Felix inside a web application, and scanning installed bundles for Struts configuration
  • Pell Multipart Plugin
  • Plexus Plugin — enables Struts Actions, Interceptors, and Results to be created and injected by Plexus http://plexus.codehaus.org/
  • Portlet Plugin — is used for developing JSR168 portlets using Struts 2
  • Sitemesh Plugin — allows Sitemesh templates to access Struts information
  • SmartURLs plugin
  • Spring Plugin — allows Actions, Interceptors, and Results to be created and/or autowired by Spring
  • TestNG Plugin — provides integration with the popular TestNG http://testng.org unit testing framework
  • Tiles Plugin — allows actions to return Tiles pages


Plugins listed here are not any more actively developed (last commit before year 2010) or were deprecated.

Deprecated

Have a bug report or feature request? - The registry lists plugins made available by various authors. To file a report regarding a third-party plugin, visit the homepage for the plugin in question. (Most of the external plugins are hosted by Google Code, and you can file an Issue there.) If the report regards a plugin bundled with the Apache Struts distribution, then (and only then) use the Struts issue tracker.