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.
- For more about the Apache Struts project itself, visit the project web site.
- Quickstart with Struts 2 Maven Archetypes.
- Struts 2 is extended using Plugins. A list of available plugins is available at the Struts 2 Plugin Registry.
- Tired of XML-based configurations, or need some extra agility? Try the Convention Plugin or its RESTful cousin, the REST Plugin.
- Interested in books, articles, and presentations about Struts? Check out some Other Resources.
- For other community-supported Struts resources, visit the Struts 2 Wiki.
The documentation is grouped into four areas.
Getting here from there. | |
Our security bulletins explain any security issues and their solutions | |
Old Documentation | Previous 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.
Quick Links
Warning | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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.
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). | |
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 and other tools help integrate the framework into your development environment. | |
The framework offers a flexible view layer that supports multiple view technologies, including JSP, FreeMaker, and Velocity. | |
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
...