...
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.jar
- commons-fileuploadio-X.X.X.jar
- commons-iolang3-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
...
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:
...
The Struts 2 user mailing list is an excellent place to get help. If you are having a problem getting this Basic Struts 2 application to work search the Struts 2 mailing list. If you don't find an answer to your problem, post a question on the mailing list.
Next | Onward to Hello World Using Struts 2 |
---|---|
Prev | Return to Tutorials |