Struts Built-In Actions

Struts comes packaged with several built-in utility actions that provide functionality that is useful to many applications.

Table 1.1 lists each of the built-in actions and their purpose.
Action Description
DispatchAction Provides a mechanism for modularizing a set of related functions into a single action, thus eliminating the need to create separate, independent actions for each function.
DownloadAction Provides a mechanism for easing the creation of file download actions.
EventDispatchAction Provides a mechanism for modularizing a set of related functions into a single action, thus eliminating the need to create separate, independent actions for each function.
ForwardAction Provides a mechanism for forwarding to a specified URL.
IncludeAction Provides a mechanism for including the contents of a specified URL.
LocaleAction Provides a mechanism for setting a user’s locale and then forwarding to a specified page.
LookupDispatchAction Provides a mechanism for modularizing a set of related functions into a single action, thus eliminating the need to create separate, independent actions for each function.
MappingDispatchAction Provides a mechanism for modularizing a set of related functions into a single action, thus eliminating the need to create separate, independent actions for each function.
SwitchAction Provides a mechanism for switching between modules in a modularized Struts application.

No comments yet.

Leave a Reply