Versions Compared

Key

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

This tutorial assumes you've completed the Using Struts 2 Tags tutorial and have a working Using_Tags_Struts2_Ant (or Using_Tags_Struts2_Mvn) using_tags project. The example code for this tutorial, Coding_Actions_Struts2_Ant or Coding_Actions_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 Coding_Actions_Struts2_Ant (or Coding_Actions_Struts2_Mvn). In that folder will be a README.txt file with instructions on now to build and run the example applicationcoding_action, is available for checkout from the Struts 2 sandbox subversion repository: https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examplesImage Added.

Introduction

Coding a Struts 2 Action involves several parts:

...