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.chain.commands |
Configurable commands
that may be placed within the request processor.
|
org.apache.struts.chain.commands.servlet |
Commands which are particular to servlet processing.
|
org.apache.struts.chain.contexts |
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
|
org.apache.struts.faces.application | |
org.apache.struts.mock |
Mock objects of the Struts Framework.
|
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 |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
|
org.apache.struts.tiles.actions |
Modifier and Type | Method and Description |
---|---|
protected Action |
RequestProcessor.processActionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
Return an
Action instance that will be used to process
the current request, creating a new one if necessary. |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
BaseAction
BaseAction is provided as an intermediate class for shared funtionality
between
Action and any stock implementation provided in this
package. |
class |
DispatchAction
An abstract Action that dispatches to a public method
that is named by the request parameter whose name is specified by the
parameter property of the corresponding ActionMapping. |
class |
DownloadAction
This is an abstract base class that minimizes the amount of special coding
that needs to be written to download a file.
|
class |
EventDispatchAction
An Action that dispatches to to one of the public methods
that are named in the
parameter attribute of the corresponding
ActionMapping and matches a submission parameter. |
class |
ForwardAction
An Action that forwards to the context-relative URI
specified by the
parameter property of our associated
ActionMapping . |
class |
IncludeAction
An Action that includes the context-relative URI
specified by the
parameter property of our associated
ActionMapping . |
class |
LocaleAction
Implementation of Action that changes the user's
Locale and forwards to a page, based on request level parameters
that are set (language, country, & page). |
class |
LookupDispatchAction
An abstract Action that dispatches to the subclass
mapped
execute method. |
class |
MappingDispatchAction
An abstract Action that dispatches to a public method
that is named by the
parameter attribute of the corresponding
ActionMapping. |
class |
SwitchAction
A standard Action that switches to a new module and
then forwards control to a URI (specified in a number of possible ways)
within the new module.
|
Modifier and Type | Field and Description |
---|---|
protected Action |
ActionDispatcher.actionInstance
The associated Action to dispatch to.
|
Constructor and Description |
---|
ActionDispatcher(Action actionInstance)
Construct an instance of this class from the supplied parameters.
|
ActionDispatcher(Action actionInstance,
int flavor)
Construct an instance of this class from the supplied parameters.
|
EventActionDispatcher(Action action)
Constructs a new object for the specified action.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Action |
AbstractCreateAction.getAction(ActionContext context,
String type,
ActionConfig actionConfig)
Create and return the appropriate
Action class for the
given type and actionConfig . |
Modifier and Type | Method and Description |
---|---|
protected abstract ForwardConfig |
AbstractExecuteAction.execute(ActionContext context,
Action action,
ActionConfig actionConfig,
ActionForm actionForm)
Execute the specified
Action , and return the resulting
ForwardConfig . |
Modifier and Type | Method and Description |
---|---|
protected Action |
CreateAction.createAction(ActionContext context,
String type)
Invoked by
getAction when the Action
actually has to be created. |
protected Action |
CreateAction.getAction(ActionContext context,
String type,
ActionConfig actionConfig) |
Modifier and Type | Method and Description |
---|---|
protected ForwardConfig |
ExecuteAction.execute(ActionContext context,
Action action,
ActionConfig actionConfig,
ActionForm actionForm)
Execute the specified
Action , and return the resulting
ActionForward . |
Modifier and Type | Method and Description |
---|---|
Action |
ActionContext.getAction()
Get the action which has been identified to be executed as part of
processing this request.
|
Action |
ActionContextBase.getAction() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setAction(Action action)
Set the action which has been identified to be executed as part of
processing this request.
|
void |
ActionContextBase.setAction(Action action) |
Modifier and Type | Method and Description |
---|---|
protected Action |
FacesTilesRequestProcessor.processActionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping) |
protected Action |
FacesRequestProcessor.processActionCreate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping) |
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 | Class and Description |
---|---|
class |
MockAction
General purpose Action for unit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptAction
This Action uses scripts to perform its action.
|
Constructor and Description |
---|
ActionController(Action action)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
DefinitionDispatcherAction
An Action that dispatches to a Tiles Definition
that is named by the request parameter whose name is specified
by the
parameter property of the corresponding
ActionMapping. |
class |
ReloadDefinitionsAction
A standard Action that calls the
reload() method of our controller servlet to
reload its configuration information from the configuration
files (which have presumably been updated) dynamically. |
class |
TilesAction
Base class for Tiles Actions.
|
class |
ViewDefinitionsAction
An Action that writes the
definitions of the Tiles factory.
|
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.