Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

This Wiki is just a source of Migration Guide - mostly Version Notes of new releases, and our Security Bulletins.

Apache Struts 2 is an elegant, extensible framework for building enterprise-ready Java web applications. Distributions of Struts 2 are available as a free download under the Apache License.

The documentation is grouped into four areas.

Migration Guide

Getting here from there.

Security Bulletins

Our security bulletins explain any security issues and their solutions

Old DocumentationPrevious version of our documentation, mostly outdated!

Community Wiki

The Struts 2 Community Wiki is an additional resource. It is not distributed with Struts 2, and contributions to the community wiki do not require a CLA.

Warning
titleWork in progress!

Struts Action Framework 2 is at a pre-release, pre-Alpha stage. Not everything is going to work, day to day. If you are just getting started with Action2/WebWork2, we recommend WebWork 2.2 as an entry point. WW2 is stable and production ready. When SAF2 is released, migration paths for WW2 and SAF1 developers will be available. See the SAF 2 release plan for details and status.

Note
titleUnder Construction

We're in the process of migrating this wiki from Open Symphony WebWork2 to Struts Action Framework 2. WebWork is in the process of joining the Apache Struts project. See our incubator page for details. During the migration period, references to WebWork2 and SAF2 will be intermixed.

Struts Action Framework 2 is a web-based MVC framework that emphasizes simplicity and interoperability.

The online documentation is grouped into five sections.

Overview

The framework is designed to minimize coding so that developers can spend less time fussing with HTTP and HTML plumbing (leaving more time to work on the interesting parts of an application).

Tutorials

Several tutorials are available to help you get started with the framework, from all-purpose "soup to nuts" tutorials to specialty tutorials on portlets and database access.

Third Party Extensions

Third party extensions and other tools help integrate the framework into your development environment.

View Developers Guide

The framework offers a flexible view layer that supports multiple view technologies, including JSP, FreeMaker, and Velocity.

Core Developers Guide

In processing a request, the framework utilizes three key class types: Actions, Interceptors, and Results, which are configured using one or more XML documents (or Java 5 annotations).

Overview

...

Tutorials

...

Extensions, Plugins, and Tools

...

View Developers Guide

...

Core Developers Guide

...

Help with WebWork2

...

...