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.-
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.