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.faces.application | |
org.apache.struts.scripting |
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.
|
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(Exception ex,
ExceptionConfig ae,
ActionMapping mapping,
ActionForm formInstance,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the Exception.
|
ActionForward |
ActionMapping.findForward(String forwardName)
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,
Exception exception,
ActionForm form,
ActionMapping mapping)
Ask our exception handler to handle the exception.
|
Modifier and Type | Method and Description |
---|---|
protected 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 the
ExceptionHandler
was invoked. |
protected void |
ExceptionHandler.handleCommittedResponse(Exception ex,
ExceptionConfig config,
ActionMapping mapping,
ActionForm formInstance,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request,
String property,
ActionMessage error,
ActionForward forward,
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,
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,
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,
String name,
Method method)
Dispatch to the specified method.
|
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 |
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 |
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 |
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 |
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).
|
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 |
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 |
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 |
SwitchAction.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 |
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. |
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 |
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 |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
ActionForward |
ConfigHelperInterface.getActionForward(String name)
Return the forwarding associated with the specified logical name,
if any; otherwise return
null . |
ActionForward |
ConfigHelper.getActionForward(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 |
---|---|
protected ActionForward |
FacesTilesRequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Action action,
ActionForm form,
ActionMapping mapping) |
protected ActionForward |
FacesRequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Action action,
ActionForm form,
ActionMapping mapping) |
Modifier and Type | Method and Description |
---|---|
ActionForward |
ScriptAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executes the script.
|
ActionForward |
StrutsInfo.getForward()
Gets the forward object.
|
Modifier and Type | Method and Description |
---|---|
void |
StrutsInfo.setForward(ActionForward f)
Sets the action forward object.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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 |
TilesAction.execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Original Struts Action's method.
|
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–2017 Apache Software Foundation. All rights reserved.