...
Struts 2 requires Servlet API 2.4 or higher, JSP 2.0 or higher, and Java 5 7 or higher.
Our First Application
...
You can checkout all the example applications from the Struts 2 subversion sandbox GitHub repository at https://svngithub.com/apache.org/repos/asf/struts/sandbox/trunk/struts2examplesstruts-examples.
Create Struts 2 Web Application Using Maven To Manage Artifacts and To Build The Application