Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Start up your Servlet container and in a web browser go to http://localhost:8080/Basic_Struts2_Ant/index.jspImage Removed. 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):

  1. asm-x.x.jar
  2. asm-commons-x.x.jar
  3. asm-tree-x.x.jar
  4. commons-fileuploadio-X.X.X.jar
  5. commons-iolang3-X.X.X.jar
  6. commons-loggingfileupload-X.X.X.jarcommons
  7. freemarker-logging-apiX.X.X.jar
  8. freemarkerjavassist-X.X.X.jar
  9. ognl-X.X.X.jar
  10. struts2-core-X.X.X.X.jar
  11. xwork-core-X.X.X.jarjavassist-3.7.ga.jar (new for Struts versions 2.2.1 and higher)

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.actionImage Removed (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.jspImage Removed. View the log messages written to the console and you should find several that discuss index.action and index.jsp:

...