Home > Tutorials > Getting Started

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.

Follow along with these tutorials to get started using Struts 2. The example code for the tutorialsis available for checkout from the
Struts 2 GitHub repository at https://github.com/apache/struts-examples. The example projects use Maven
to manage the artifact dependencies and to build the .war files.

The Struts 2 user mailing list is an excellent place to get help. If you are having a problem getting the tutorial example applications to work search the Struts 2 mailing list. If you don't find an answer to your problem, post a question on the mailing list.

Getting Started

How To Create A Struts 2 Web Application

Hello World Using Struts 2

Using Struts 2 Tags

Coding Struts 2 Actions

Processing Forms

Form Validation

Message Resource Files

Exception Handling

Debugging Struts

Struts 2 Form Tags

Form Validation Using XML

Control Tags

Wildcard Method Selection

Struts 2 Themes

Spring and Struts 2

Struts 2 Annotations

Introducing Interceptors

Unit Testing

HTTP Session

Preparable Interface

Exclude Parameters

Looking for the old Bootstrap tutorials?