Warning |
---|
DEPRECATED: moved to http://struts.apache.org/getting-started/ |
Info |
---|
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. |
excerpt
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
- Bootstrap
- few simple steps how to start with Struts 2
- Struts 2 + Spring 2 + JPA + AJAX
Struts 2 / Hibernate Tutorial
Struts 2, Spring 3, JPA 2, Maven Example
Speciality
- Extending an Application with Custom Plugins
- CRUD Made Easy
- Creating java web applications with AngularJS and Struts2
- 4 Easy Steps to create a Java based Web Application with Struts2 and jQuery
- JasperReports Tutorial
- Portlet Tutorial (WebWork 2.2)
- Developing a Portlet using Eclipse
- Struts 2 JUnit Plugin Tutorial
Examples
Several example applications are bundled with the framework, as ready-to-deploy WARs.
Blank | An "empty" application that you can use as the starting point for your own projects. |
MailReader | A simple application that demonstrates best practices. |
Portlet | An application demonstrating portlet support |
Showcase | A sampling of common (and not so common) use cases. |
Simple examples and links to "powered by" sites |
For the complete source code to the applications, see the source code distribution.
Books
- Starting with Struts 2 (Ian Roughley), Free PDF and print.
- WebWork in Action book (Patrick Lightbody, Jason Carreira), print only.
- Most of WW2 in Action applies to Struts 2. The Struts 2 package names changed, and we've added some features, but the fundamentals remain the same. From a technical perspective, Struts 2 is WebWork 3.
- Struts 2 Design and Programming (Bud Kurniawan), print-only, pre-order only
- Practical Apache Struts 2 Web 2.0 Projects (Ian Roughley), print-only, pre-order only
- Struts 2: The Complete Reference (James Holmes), print-only, pre-order only
Other Resources
- Ajax CRUD with Struts 2 and Tibco GI (Brian Walsh)
- Ajax support in struts 2.0 (Jesintha Priyadarshini L)
- AppFuse and Struts 2 (Matt Raible)
- CRUD with WebWork, Spring, and JSTL (Larry Meador)
- Easy CRUD with Struts 2 (QuickTime video with Matt Raible - 8 minute)
- Easy AJAX with Struts 2 (firstpartners.net)
- Getting Started with Struts2 (Wesley Wannemacher)
- Integrating Struts 2 + JSF + Facelets (Matt Raible)
- Leveraging Struts2 Type Conversion (David DeWolf)
- Mark's Struts 2 Cookbook (Mark Menard)
- Migrating Struts Apps to Struts 2 (Ian Roughly)
- Migrating to Apache Struts 2: A tutorial for Struts 1 Developers. (Ted Husted)
- Product Internationalization (Todd McCullough, Jive Software)
- Struts 2 from Square One Draft manuscript covering part one of a four-day training course (Ted Husted)
- Struts 2 Tags (Rose India)
- Struts 2 Tutorial Struts 2 with Spring and Hibernate using Eclipse (ArcTech Software)($)
- Struts 2 Tutorial (Rose India)
- Struts 2 wired by Spring (Daniel Ambrósio)
- Struts 2.0 Validations using Annotations (Krishna Srinivasan)
- Unit Testing Struts 2 Actions wired with Spring using JUnit (arsenlist)
Presentations
- Animated Tutorial for Struts2 (Mohammad SeyedAlavi)
- PowerPoint version ZIP download (may not render correctly under OpenOffice)
- PDF version ZIP download (without animation)
- Migrating From Struts 1 to Struts 2 presentation (Matt Raible)
- WebWork 2 presentation (Jason Carreira)
Community Wiki
...
Errata?
Tip |
---|
To suggest a change or a correction to any part of the documentation, log in and leave a comment on the appropriate page. We are always looking for help with the documentation! |
...