Package | Description |
---|---|
org.apache.struts.action |
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
|
org.apache.struts.actions |
The actions package provides special adapters between the incoming HTTP
request and the corresponding business logic.
|
org.apache.struts.config |
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. |
org.apache.struts.tiles.actions |
Modifier and Type | Class and Description |
---|---|
class |
ActionRedirect
A subclass of
ActionForward which is designed for use
in redirecting requests, with support for adding parameters
at runtime. |
class |
ForwardingActionForward
A subclass of
ActionForward that defaults the
redirect attribute to false . |
class |
RedirectingActionForward
A subclass of ActionForward that defaults the
redirect attribute to true . |
Modifier and Type | Method and Description |
---|---|
ActionForward |
Action.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
ActionForward |
Action.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.ServletRequest request,
javax.servlet.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.
|
ActionForward |
ExceptionHandler.execute(java.lang.Exception ex,
ExceptionConfig ae,
ActionMapping mapping,
ActionForm formInstance,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the
Exception . |
ActionForward |
ActionMapping.findForward(java.lang.String name)
Find and return the
ForwardConfig instance defining
how forwarding to the specified logical name should be handled. |
ActionForward |
ActionMapping.getInputForward()
Create (if necessary) and return an
ActionForward that
corresponds to the input property of this Action. |
protected ActionForward |
RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Action action,
ActionForm form,
ActionMapping mapping)
Ask the specified
Action instance to handle this
request. |
protected ActionForward |
RequestProcessor.processException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Exception exception,
ActionForm form,
ActionMapping mapping)
Ask our exception handler to handle the exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExceptionHandler.storeException(javax.servlet.http.HttpServletRequest request,
java.lang.String property,
ActionError error,
ActionForward forward,
java.lang.String scope)
Deprecated.
Use storeException(HttpServletRequest, String, ActionMessage, ActionForward, String)
instead. This will be removed after Struts 1.2.
|
protected void |
ExceptionHandler.storeException(javax.servlet.http.HttpServletRequest request,
java.lang.String property,
ActionMessage error,
ActionForward forward,
java.lang.String scope)
Default implementation for handling an
ActionMessage generated
from an Exception during Action delegation. |
Constructor and Description |
---|
ActionForward(ActionForward copyMe)
Construct a new instance based on the values of another ActionForward.
|
Modifier and Type | Method and Description |
---|---|
protected ActionForward |
ActionDispatcher.cancelled(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Dispatches to the target class' cancelled method, if present,
otherwise returns null.
|
protected ActionForward |
DispatchAction.cancelled(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method which is dispatched to when the request is a cancel button submit.
|
protected ActionForward |
ActionDispatcher.dispatchMethod(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
Dispatch to the specified method.
|
protected ActionForward |
DispatchAction.dispatchMethod(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name)
Dispatch to the specified method.
|
protected ActionForward |
ActionDispatcher.dispatchMethod(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String name,
java.lang.reflect.Method method)
Dispatch to the specified method.
|
ActionForward |
SwitchAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
ActionForward |
ForwardAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
LocaleAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Change the user's
Locale based on ActionForm
properties. |
ActionForward |
ActionDispatcher.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
LookupDispatchAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
DispatchAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
MappingDispatchAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
IncludeAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
|
ActionForward |
DownloadAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Dispatches to the target class'
unspecified method,
if present, otherwise throws a ServletException. |
protected ActionForward |
DispatchAction.unspecified(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method which is dispatched to when there is no value for the
parameter in the ActionMapping.
|
protected ActionForward |
EventDispatchAction.unspecified(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Dispatches to the target class'
unspecified method, if
present, otherwise throws a ServletException. |
Modifier and Type | Field and Description |
---|---|
private ActionForward |
ConfigHelper.forward
The forward associated with this instance.
|
Modifier and Type | Method and Description |
---|---|
ActionForward |
ConfigHelper.getActionForward(java.lang.String name)
Return the forwarding associated with the specified logical name,
if any; otherwise return
null . |
ActionForward |
ConfigHelperInterface.getActionForward(java.lang.String name)
Return the forwarding associated with the specified logical name,
if any; otherwise return
null . |
Modifier and Type | Method and Description |
---|---|
void |
ConfigHelper.setForward(ActionForward forward)
Set the forward associated with this instance.
|
Modifier and Type | Method and Description |
---|---|
ActionForward |
TilesAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Original Struts Action's method.
|
ActionForward |
ReloadDefinitionsAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
ActionForward |
ViewDefinitionsAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
ActionForward |
DefinitionDispatcherAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
ActionForward |
TilesAction.execute(ComponentContext context,
ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
Copyright ? 2000-2014 - The Apache Software Foundation