Mirror of Apache Struts

Clone this repo:
  1. 9293ef3 Merge pull request #507 from apache/dependabot/github_actions/actions/checkout-6.0.0 by Lukasz Lenart · 2 days ago main
  2. 18bfac6 Merge pull request #506 from apache/dependabot/maven/org.eclipse.jetty.ee10-jetty-ee10-maven-plugin-12.1.3 by Lukasz Lenart · 2 days ago
  3. 078bb4d Merge pull request #505 from apache/dependabot/maven/org.springframework-spring-web-6.2.12 by Lukasz Lenart · 2 days ago
  4. 126ffe4 Merge pull request #504 from apache/dependabot/maven/org.owasp-dependency-check-maven-12.1.8 by Lukasz Lenart · 2 days ago
  5. 744c308 Merge pull request #502 from apache/dependabot/maven/shiro.version-2.0.5 by Lukasz Lenart · 2 days 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.