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
Action
for this request.Invoke the local or global exception handler configured for the exception class that occurred.Invoke the appropriateAction
for 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 theActionConfig
instance for the action to be used for processing this request.Select and cache theActionForward
for thisActionConfig
if specified.Select and cache aForwardConfig
that returns us to the input page for the current action, if any.Select theLocale
to be used for this request.Cache theModuleConfig
andMessageResources
instances 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-chainCommand
which expects to operate upon a StrutsActionContext
.Simple abstract class which logs theActionCommand
-class when executed.Copies anyActionMessages
from 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 subsequentCommand
in this processing chain, and fire the configured exception handler chain after storing the exception that has occurred into theContext
.Invoke the appropriateCommand
for this request.Look up and execute a commons-chainCommand
based on properties of the ActionContext'sforwardConfig
property.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 thisActionConfig
if specified.Exception thrown when the chosen action mapping is not authorized for the current request.