Uses of Class
org.apache.struts.action.ActionForward
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. The actions package provides special adapters between the incoming HTTP
request and the corresponding business logic.
The scripting package is the core of the Struts Scripting framework,
which builds on Struts Action to allow Struts Actions be written
with the scripting language of your choice.
-
Uses of ActionForward in org.apache.struts.action
Modifier and TypeClassDescriptionclass
A subclass ofActionForward
which is designed for use in redirecting requests, with support for adding parameters at runtime.class
A subclass ofActionForward
that defaults theredirect
attribute tofalse
.class
A subclass of ActionForward that defaults theredirect
attribute totrue
.Modifier and TypeMethodDescriptionAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.Action.execute
(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) Process the specified non-HTTP request, and create the corresponding non-HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.ExceptionHandler.execute
(Exception ex, ExceptionConfig ae, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response) Handle the Exception.ActionMapping.findForward
(String forwardName) Find and return theForwardConfig
instance defining how forwarding to the specified logical name should be handled.ActionMapping.findRequiredForward
(String forwardName) Find and return theForwardConfig
instance of this mapping, throwing an exception if not found locally or globally.ActionMapping.getInputForward()
Create (if necessary) and return anActionForward
that corresponds to theinput
property of this Action.protected ActionForward
RequestProcessor.processActionPerform
(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) Ask the specifiedAction
instance to handle this request.protected ActionForward
RequestProcessor.processException
(HttpServletRequest request, HttpServletResponse response, Exception exception, ActionForm form, ActionMapping mapping) Ask our exception handler to handle the exception.Modifier and TypeMethodDescriptionprotected String
ExceptionHandler.determineIncludePath
(ExceptionConfig config, ActionForward actionForward) Return a path to which an include should be attempted in the case when the response was committed before theExceptionHandler
was invoked.protected void
ExceptionHandler.handleCommittedResponse
(Exception ex, ExceptionConfig config, ActionMapping mapping, ActionForm formInstance, HttpServletRequest request, HttpServletResponse response, ActionForward actionForward) Attempt to give good information when the response has already been committed when the exception was thrown.protected void
ExceptionHandler.storeException
(HttpServletRequest request, String property, ActionMessage error, ActionForward forward, String scope) Default implementation for handling anActionMessage
generated from anException
duringAction
delegation.ModifierConstructorDescriptionActionForward
(ActionForward copyMe) Construct a new instance based on the values of another ActionForward. -
Uses of ActionForward in org.apache.struts.config
Modifier and TypeMethodDescriptionConfigHelper.getActionForward
(String name) Return the forwarding associated with the specified logical name, if any; otherwise returnnull
.ConfigHelperInterface.getActionForward
(String name) Return the forwarding associated with the specified logical name, if any; otherwise returnnull
.Modifier and TypeMethodDescriptionvoid
ConfigHelper.setForward
(ActionForward forward) Set the forward associated with this instance. -
Uses of ActionForward in org.apache.struts.extras.actions
Modifier and TypeMethodDescriptionprotected ActionForward
ActionDispatcher.cancelled
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class' cancelled method, if present, otherwise returns null.protected ActionForward
DispatchAction.cancelled
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when the request is a cancel button submit.protected ActionForward
ActionDispatcher.dispatchMethod
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name) Dispatch to the specified method.protected ActionForward
ActionDispatcher.dispatchMethod
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name, Method method) Dispatch to the specified method.protected ActionForward
DispatchAction.dispatchMethod
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, String name) Dispatch to the specified method.ActionDispatcher.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).DispatchAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).DownloadAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).ForwardAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).IncludeAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).LocaleAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Change the user'sLocale
based onActionForm
properties.LookupDispatchAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).MappingDispatchAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).SwitchAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).protected ActionForward
ActionDispatcher.unspecified
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class'unspecified
method, if present, otherwise throws a ServletException.protected ActionForward
DispatchAction.unspecified
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for specified request parameter included in the request.protected ActionForward
EventActionDispatcher.unspecified
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Dispatches to the target class'unspecified
method, if present, otherwise throws a ServletException.protected ActionForward
EventDispatchAction.unspecified
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for specified request parameter included in the request.protected ActionForward
MappingDispatchAction.unspecified
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Method which is dispatched to when there is no value for the parameter in the ActionMapping. -
Uses of ActionForward in org.apache.struts.faces.application
Modifier and TypeMethodDescriptionprotected ActionForward
FacesRequestProcessor.processActionPerform
(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) protected ActionForward
FacesTilesRequestProcessor.processActionPerform
(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) -
Uses of ActionForward in org.apache.struts.scripting
Modifier and TypeMethodDescriptionScriptAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Executes the script.StrutsInfo.getForward()
Gets the forward object.Modifier and TypeMethodDescriptionvoid
StrutsInfo.setForward
(ActionForward f) Sets the action forward object. -
Uses of ActionForward in org.apache.struts.tiles.actions
Modifier and TypeMethodDescriptionDefinitionDispatcherAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.ReloadDefinitionsAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.TilesAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Original Struts Action's method.TilesAction.execute
(ComponentContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.ViewDefinitionsAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic. -
Uses of ActionForward in org.apache.struts.tiles2.actions
Modifier and TypeMethodDescriptionDefinitionDispatcherAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.TilesAction.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) Original Struts Action's method.TilesAction.execute
(org.apache.tiles.AttributeContext context, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic.