Struts Built-In Actions
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.
|It provides mechanism to collect related functions into a single action and eliminates the need of creating multiple independent actions for each function.
|It enables to forward request to the specified URL.
|It provides mechanism to include the contents of a specified URL.
|It provides mechanism to set a user's locale and further forwarding that to a specified page.
|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.
|It lets you combine many related actions into a single action class and manage through creating multiple action-mappings.
|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.