Mirror of Apache Struts

Clone this repo:
  1. d09ddbb Merge pull request #457 from apache/simplified-upload by Lukasz Lenart · 4 weeks ago main
  2. 771c9a3 Simplifies file upload example by Lukasz Lenart · 4 weeks ago
  3. 3780310 Merge pull request #456 from apache/fix/file-upload by Lukasz Lenart · 4 weeks ago
  4. ad0de21 Adjusts file upload example to action based upload by Lukasz Lenart · 4 weeks ago
  5. df87211 Merge pull request #447 from fp024/dev-2025-04-17-a by Lukasz Lenart · 8 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.