Struts Built-In Actions

標簽: 瀏覽(690)  日期:2007-09-06

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.  

ActionsDescription
org.apache.struts.actions.DispatchActionIt 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.ForwardActionIt enables to forward request to the specified URL.
org.apache.struts.actions.IncludeActionIt  provides mechanism to include the contents of a specified URL.
org.apache.struts.actions.LocaleActionIt  provides mechanism to set a user`s locale and further forwarding that to a specified page.
org.apache.struts.actions.LookupDispatchActionIt  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.MappingDispatchActionIt lets you combine many related actions into a single action class and manage through  creating multiple action-mappings.
org.apache.struts.actions.switchActionIt 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.

 




-------------------------------------------------
上一篇:Struts File Upload and Save 下一篇:Struts Dispatch Action Example



  
Are you Bot? How you know that?ofcz no.