https://github.com/apache/struts-examples
Mirror of Apache Struts
https://github.com/apache/struts-examples
java struts web-framework
Last synced: 8 months ago
JSON representation
Mirror of Apache Struts
- Host: GitHub
- URL: https://github.com/apache/struts-examples
- Owner: apache
- Created: 2014-03-11T07:00:06.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T00:47:17.000Z (8 months ago)
- Last Synced: 2025-05-08T14:41:03.896Z (8 months ago)
- Topics: java, struts, web-framework
- Language: Java
- Size: 4.1 MB
- Stars: 434
- Watchers: 47
- Forks: 557
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Struts Examples
[](https://ci-builds.apache.org/job/Struts/job/Struts-examples-master/)
[](https://github.com/apache/struts-examples/actions/workflows/maven.yml)
[](http://www.apache.org/licenses/LICENSE-2.0.html)
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](releases) page.