...
Start up your Servlet container and in a web browser go to http://localhost:8080/Basic_Struts2_Ant/index.jsp. You should see the following:
...
Find and copy to WEB-INF\lib these files (note X.X.X.X.jar refers to the version number):
- asm-x.x.jar
- asm-commons-x.x.jar
- asm-tree-x.x.fileupload-X.X.X.jar
- commons-io-X.X.X.jar
- commons-langlang3-X.X.X.jar
- commons-loggingfileupload-X.X.X.jarcommons
- freemarker-logging-apiX.X.X.jar
- freemarkerjavassist-X.X.X.jar
- ognl-X.X.X.jar
- struts2-core-X.X.X.X.jar
- xwork-core-X.X.X.jar
- javassist-X.X.X.jar
You can see from the above that the Struts 2 core jar depends on several other artifacts. As we add additional Struts 2 features in future tutorials, we'll need to add additional Struts 2 jar files and other transitive dependencies.
...
Open a web browser and go to http://localhost:8080/Basic_Struts2_Ant/index.action (note that's index.action not index.jsp at the end of the URL). You should see the same web page as when going to http://localhost:8080/Basic_Struts2_Ant/index.jsp
. View the log messages written to the console and you should find several that discuss index.action and index.jsp:
...