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 contents of the Struts 2 documentation wiki (what you're reading now) are distributed with each release, but maintained via the on-line wiki.
Tip |
---|
Have a suggestion, correction, or improvement? Log in and leave a comment on the appropriate page or file a ticket against the Struts 2 documentation. We're always looking for help! |
Note |
---|
We've started planning the next version of Struts aka Struts 3 (or 2.5) which will break backward compatibility, if you want to join please add your two cents here. |
Getting Started
The documentation is grouped into four areas.
Our tutorials are designed to help you get started with the framework ASAP. We offer an all-purpose "Bootstrap" tutorial as well as specialty tutorials on portlets and database access. | |
Our in-depth technical guides focus on specific components of the framework, such as the Core framework, Struts Tags, and optional Extensions, as well as migrating from Struts 1 or WebWork 2. | |
Our FAQs and Cookbook examples provide a wide range of rapid-fire "HOWTOs" in question-and-answer format. | |
Our security bulletins explain any security issues and their solutions | |
Books, articles, and presentations about Struts 2. |
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
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
Next: Tutorials
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. SAF 2 is designed to minimize coding so that developers can spend less time fussing with HTTP and HTML plumbing and more time implementing business logic.
The online documentation is grouped into five sections.
Overview
...
Tutorials
...
Extensions, Plugins, and Tools
...
View Developers Guide
...
Core Developers Guide
...
Help with WebWork2
...
...