Package org.apache.struts.chain.commands
package org.apache.struts.chain.commands
Configurable commands that may be placed within the
request processor.
-
ClassDescriptionDetermine whether the requested action is authorized for the current user.Create (if necessary) and cache an
Actionfor this request.Invoke the local or global exception handler configured for the exception class that occurred.Invoke the appropriateActionfor this request, and cache the returnedActionForward.Perform forwarding or redirection based on the specifiedForwardConfig(if any).Perform forwarding or redirection based on the specifiedString(if any).Populate the form bean (if any) for this request.Check to see if the controller is configured to prevent caching, and if so, request no cache flags to be set.Cache theActionConfiginstance for the action to be used for processing this request.Select and cache theActionForwardfor thisActionConfigif specified.Select and cache aForwardConfigthat returns us to the input page for the current action, if any.Select theLocaleto be used for this request.Cache theModuleConfigandMessageResourcesinstances for the sub-application module to be used for processing this request.Check to see if the content type is set, and if so, set it for this response.Check to original uri is set, and if not, set it for this request.Validate the properties of the form bean for this request.Marks a commons-chainCommandwhich expects to operate upon a StrutsActionContext.Simple abstract class which logs theActionCommand-class when executed.Copies anyActionMessagesfrom the request to the session if a redirecting forward is selected and the messages were not accessed.Create (if necessary) and cache a form bean for this request.Intercept any exception thrown by a subsequentCommandin this processing chain, and fire the configured exception handler chain after storing the exception that has occurred into theContext.Invoke the appropriateCommandfor this request.Look up and execute a commons-chainCommandbased on properties of the ActionContext'sforwardConfigproperty.Exception thrown when no mapping can be found for the specified path.Remove cached messages stored in the session.Select and cache the include for thisActionConfigif specified.Exception thrown when the chosen action mapping is not authorized for the current request.