The framework documentation is written for active web developers and assumes a working knowledge about how Java web applications are built. For more about the underlying nuts and bolts, see the Key Technologies Primer.
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.
Primers
Speciality
Examples
Several example applications are bundled with the framework, as ready-to-deploy WARs.
An "empty" application that you can use as the starting point for your own projects. |
|
A sampling of common (and not so common) use cases. |
|
A simple application that demonstrates best practices. |
|
Portlet |
|
Simple examples and links to "powered by" sites |
For the complete source code to the applications, see the source code distribution.
Other Resources
- Migrating Struts Apps to Struts 2 (Ian Roughly)
- Migrating to Apache Struts 2: A tutorial for Struts 1 Developers. (Ted Husted)
- CRUD with WebWork, Spring, and JSTL (Larry Meador)
- Struts 2 Wiki - The Struts 2 Wiki is a community-supported resource. To contribute to the wiki space, simply create an Confluence account. The wiki space is not bundled with the Struts 2 distribution, but it is still an exciting and valuable community resource!