Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This tutorial assumes you've completed the Hello World tutorial and have a working Hello_World_Struts2_Ant (or Hello_World_Struts2_Mvn) helloworld project. The example code for this tutorial, Using_Tags_Struts2_Ant or Using_Tags_Struts2_Mvn, is available on Google Code - http://code.google.com/p/struts2-examples/downloads/list. After downloading and unzipping the file, you'll have a folder named Using_Tags_Struts2_Ant (or Using_Tags_Struts2_Mvn). In that folder will be a README.txt file with instructions on how to build and run the example applicationusing_tags, is available for checkout from the Struts 2 subversion sandbox at https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examplesImage Added. The example projects use Maven to manage the artifact dependencies and to build the .war files.

In the Hello World lesson, we added to the index.jsp a Struts 2 url tag to create a hyperlink to the hello.action. This tutorial will explore the url and other Struts 2 tags further.

...