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 |
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. |
Welcome to the Apache Struts Action Framework 2: Java's cutting-edge web development platform!
Info |
---|
The SAF2 documentation is maintained online, posted to the Apache Struts web site on a regular basis, and also bundled with each release. The online version represents the latest development version ("nightly build") and may document features not available in your release. See the documenation bundled with each release for the best information about the features available in that release. Release documentation is available in HTML and PDF format.
|
QuickStart
The best way to get started with any new technology can be to just jump in and try it out. If you agree, download a distribution and take our QuickStart feature for a spin.
Panel | ||
---|---|---|
| ||
|
About Struts Action Framework 2
- Features
- Release Notes
- Announcements
- Product History
Getting Started
...
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
Tutorials
- SAF Step by Step
- Philip Luppens' WebWork CRUD Made Easy
- Larry Meador's CRUD with WebWork, Spring, and JSTL
- Touring the MailReader
- MailReader Training Course
- Portlet Tutorial
Distributions
- For now, SAF2 may be checked out from the incubator repository.
Code Block svn co https://svn.apache.org/repos/asf/incubator/webwork2/
- A SAF2 distribution will be available once the codebase exits the Apache Incubator
- A distribution of WebWork2 is available from OpenSymphony.
- What about QuickStart?
Requirements
Getting Help
- Mailing lists
- Issue Tracking (JIRA)
- Frequently Asked Questions
- SAF2 FAQ
- The Vault (interesting posts from the forum)
- Apache Struts FAQs
- SAF2 FAQ
- Apache Struts Website
- Event Calendar
Coding Applications
- Testing
- Code snippets (Cookbook) and example applications
Plugins, Tools, and Extensions
- IDE Plugins: Eclipse, IntelliJ
- Tools (SiteGraph, Config Browser, QuickStart)
- 3rd Party Extensions: SiteMesh, Spring, Pico, Hibernate, JSTL, JUnit, Quartz, Tiles
Reference
- API
- Basics
- Advanced
- UI/Views
- Tags
- General (Control Tags, Data Tags)
- HTML (Form Tags, Non Form Tags)
- OGNL (syntax, altsyntax)
- View technlogies
- Themes and Templates
- Components
- Tags
- J2SE 5 Support (Annotations)
- Portlets (tutorial, configuration)
Resources
Contributor Resources
- How to Contribute
- Building the Framework from Source
- Style Guide
- Ivy
- Project incubation page
- Who We Are
- Source code repository
More Help with WebWork2
...
...