Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by MichaelJouravlev:
http://wiki.apache.org/struts/StrutsManualActionClasses

------------------------------------------------------------------------------
  
  == Action Classes ==
  
- The goal of an Action class is to process a request and return an 
ActionForward object that identifies where control should be transferred (e.g. 
a JSP page, Tile definition, Velocity template, or another Action) to provide 
the appropriate response.
+ The goal of an Action class is to process a request and return an 
ActionForward object. !ActionForward object identifies where control should be 
transferred to provide the appropriate response.
+ 
+ !ActionForward object usually designate another Action (see 
[:ActionChaining:action chaining]) or a presentation page (illustrated below). 
Struts is agnostic to presentation technology, so response can be generated 
from JSP file, Tile definition, Velocity template, XSLT stylesheet or other 
source.
+ 
+ inline:basic_action.gif
  
  == Action As Simple Service ==
  In its simplest form Action class handles all incoming requests with one 
callback method, {{{execute()}}}. Two overloaded versions of this method are 
available. Choosing one or another depends on your servlet environment. A 
non-HTTP execute() method has been provided for applications that are not 
specifically geared towards the HTTP protocol, but most projects will only use 
the HTTP version since the majority of teams using the framework are focused on 
building web applications:

Reply via email to