This Web application in Java is a example that use struts2
Install Jdk 7 or 8
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Setup JAVA_HOME environment variable
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
Install maven
https://maven.apache.org/install.html
To install this web application make the following steps:
create local directory, example mkdir project-example
cd project-example
git clone https://github.com/josesanchezr/struts2-project.git
cd struts2-project
mvn clean
mvn install
To run this web application make the following steps:
mvn tomcat7:run
Open the URL following
http://localhost:9090/index
Or
http://localhost:9090/request.jsp
# struts-showcase