Mirror of Apache Struts

Clone this repo:
  1. 49db228 WW-5416 fix: restore default struts.action.extension in examples (#541) by Lukasz Lenart · 28 hours ago main
  2. 370ba5e Build(deps): Bump jackson.version from 2.14.1 to 2.22.0 (#526) by dependabot[bot] · 3 weeks ago
  3. c47872d Build(deps-dev): Bump org.apache.maven.plugins:maven-failsafe-plugin (#531) by dependabot[bot] · 3 weeks ago
  4. 174da7a Build(deps): Bump actions/cache from 5.0.3 to 6.1.0 (#532) by dependabot[bot] · 3 weeks ago
  5. 5a4e386 Build(deps): Bump org.owasp:dependency-check-maven from 12.1.9 to 12.2.2 (#530) by dependabot[bot] · 3 weeks ago

Struts Examples

Build Status @ ASF Build Status @ GH Actions License

This Maven multi-module project contains all the Struts 2 example applications that are part of the Getting Started Struts 2 tutorials at http://struts.apache.org.

To build all the example applications run the Maven command:

mvn -e clean package

In the project's root folder, Maven will build each module and create a .war file in the target sub-folder of each module.

You can then copy the .war files to your Servlet container (e.g. Tomcat, Jetty, GlassFish, etc).

There is a README file in each module with instructions and the URL to view that application.

Older versions

The examples are using the latest Struts version, if you are looking for older versions please take a look on the Releases page.