In this section we will give a quick look to the few of built-in utility actions shipped with Struts APIs. These built-in utility actions provide different functionalities useful to diverse applications.
|org.apache.struts.actions.DispatchAction||It provides mechanism to collect related functions into a single action and eliminates the need of creating multiple independent actions for each function.|
|org.apache.struts.actions.ForwardAction||It enables to forward request to the specified URL.|
|org.apache.struts.actions.IncludeAction||It provides mechanism to include the contents of a specified URL.|
|org.apache.struts.actions.LocaleAction||It provides mechanism to set a user's locale and further forwarding that to a specified page.|
|org.apache.struts.actions.LookupDispatchAction||It provides mechanism to combine many similar actions into a single action class, in order to simplify the application design .Java map class is used to dispatch methods.|
|org.apache.struts.actions.MappingDispatchAction||It lets you combine many related actions into a single action class and manage through creating multiple action-mappings.|
|org.apache.struts.actions.switchAction||It provides a mechanism to switch between modules and then forwards control to a URI (specified in a number of possible ways) within the new module.|
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: February 22, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles