What are the Actions in Struts?

Showing Answers 1 - 2 of 2 Answers

Abhishek

  • Oct 14th, 2006
 

Hi friends,

Struts framework provides us some inbuilt action classes like FORWARD ACTION, INCLUDE ACTION, DISPATCH ACTION, LOOKUPDISPATCH ACTION AND SWITCH ACTION.

                                                      Abhishek

  Was this answer useful?  Yes

Hi,

Struts Extras provides several popular but non-essential classes, including:

ActionDispatcher An Action helper class that dispatches to a public method in an Action. 
BaseAction BaseAction is provided as an intermediate class for shared funtionality between Action and any stock implementation provided in this package. 
DigestingPlugIn An implementation of PlugIn which can be configured to instantiate a graph of objects using the Commons Digester and place the root object of that graph into the Application context. 
DispatchAction This Action is useful for developers who prefer to combine many similar actions into a single Action class, in order to simplify their application design. 
DownloadAction This is an abstract base class that minimizes the amount of special coding that needs to be written to download a file. 
DynaValidatorActionForm This class differs from the core DynaValidatorForm in that the key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. 
EventActionDispatcher An Action helper class that dispatches to to one of the public methods that are named in the parameter attribute of the corresponding ActionMapping and matches a submission parameter. 
EventDispatchAction An Action that dispatches to to one of the public methods that are named in the parameter attribute of the corresponding ActionMapping and matches a submission parameter 
ForwardAction An Action that forwards to the context-relative URI specified by the parameter property of our associated ActionMapping. 
IncludeAction An Action that includes the context-relative URI specified by the parameter property of our associated ActionMapping. 
LocaleAction Implementation of Action that changes the user's Locale and forwards to a page, based on request level parameters that are set (language, country, and page). 
LookupDispatchAction An abstract Action that dispatches to the subclass mapped execute method. This is useful in cases where an HTML form has multiple submit buttons with the same name 
MappingDispatchAction An abstract Action that dispatches to a public method that is named by the parameter attribute of the corresponding ActionMapping. 
ModuleConfigVerifier Convenient implementation of PlugIn that performs as many verification tests on the information stored in the ModuleConfig for this module as is practical. 
SwitchAction A standard Action that switches to a new module and then forwards control to a URI (specified in a number of possible ways) within the new module. 
ValidatorActionForm This class differs from the core ValidatorForm in that the key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. 

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

"HELP EVER HURT NEVER"&"IMPOSSIBLE AS POSSIBLE"

Note:If any one want java materials like e-books,faq's send a mail to my id.if any doubts regarding java send a mail to my id, if possible i will send answers.if any one want how to install java softwares ,tomcat,weblogic,eclipse,jbuilder etc and how to use plz send amil or ask online also i will definitly tell.
see my profile by clickon below link:

http://in.geocities.com/bora_srinivasarao/MyHomepage.html

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/DEA2eIX.html

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions