...
Struts 2 requires Servlet API 2.4 or higher, JSP 2.0 or higher, and Java 5 7 or higher.
Our First Application
To get started using Struts 2 we will create a web application with the required Struts 2 artifacts in WEB-INF lib and use Ant to build the application. Then we will create the same application using Maven to manage the artifact dependencies.
You can download checkout all the tutorial examples from Google Code - httpexample applications from the Struts 2 GitHub repository at https://code.googlegithub.com/papache/struts2struts-examples/downloads/list.Click on the link for whichever technology (Ant or Maven) you're familiar with.Create Struts 2 Web Application With Artifacts In WEB-INF lib and Use Ant To Build The Application
Create Struts 2 Web Application Using Maven To Manage Artifacts and To Build The Application