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.chain |
Contains the new
ComposableRequestProcessor
which was introduced in Struts 1.3. |
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.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.util | |
org.apache.struts.mock |
Mock objects of the Struts Framework.
|
org.apache.struts.plugins | |
org.apache.struts.taglib.html |
The "struts-html" tag library
contains JSP custom tags useful in creating dynamic HTML user interfaces,
including input forms.
|
org.apache.struts.tiles |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
|
org.apache.struts.upload |
The upload package facilities to upload files using
multi-part requests.
|
org.apache.struts.util |
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
|
org.apache.struts.validator |
The validator package provides a series of classes to validate
ActionForm type of input. |
Modifier and Type | Field and Description |
---|---|
protected ActionServlet |
ActionServletWrapper.servlet
The servlet instance to which we are attached.
|
protected ActionServlet |
ActionForm.servlet
The servlet instance to which we are attached.
|
protected ActionServlet |
Action.servlet
The servlet to which we are attached.
|
protected ActionServlet |
RequestProcessor.servlet
The servlet with which we are associated.
|
Modifier and Type | Method and Description |
---|---|
protected ActionServlet |
ActionForm.getServlet()
Return the servlet instance to which we are attached.
|
ActionServlet |
Action.getServlet()
Return the servlet instance to which we are attached.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestProcessor.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Initialize this request processor instance.
|
void |
PlugIn.init(ActionServlet servlet,
ModuleConfig config)
Receive notification that the specified module is being started
up.
|
void |
ActionForm.setServlet(ActionServlet servlet)
Set the servlet instance to which we are attached (if
servlet is non-null). |
void |
Action.setServlet(ActionServlet servlet)
Set the servlet instance to which we are attached (if
servlet is non-null), or release any allocated resources
(if servlet is null). |
Constructor and Description |
---|
ActionServletWrapper(ActionServlet servlet)
Create object and set
servlet property. |
Modifier and Type | Method and Description |
---|---|
void |
ComposableRequestProcessor.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Initialize this request processor instance.
|
protected void |
ComposableRequestProcessor.initCatalogFactory(ActionServlet servlet,
ModuleConfig moduleConfig)
Establish the CatalogFactory which will be used to look up the
catalog which has the request processing command.
|
Modifier and Type | Method and Description |
---|---|
ActionServlet |
ServletActionContext.getActionServlet()
Return the ActionServlet for this context.
|
Modifier and Type | Method and Description |
---|---|
void |
ServletActionContext.setActionServlet(ActionServlet servlet)
Set the ActionServlet instance for this context.
|
Modifier and Type | Method and Description |
---|---|
ActionForm |
FormBeanConfig.createActionForm(ActionServlet servlet)
Create and return an
ActionForm instance appropriate to
the information in this FormBeanConfig . |
Modifier and Type | Method and Description |
---|---|
ActionServlet |
StrutsContext.getActionServlet()
Return the
ActionServlet instance for this
web application. |
Modifier and Type | Class and Description |
---|---|
class |
MockActionServlet
Mock ActionServlet object for low-level unit tests of
Struts controller components.
|
Modifier and Type | Method and Description |
---|---|
ActionServlet |
MockMultipartRequestHandler.getServlet()
Get the mock ActionServlet instance.
|
Modifier and Type | Method and Description |
---|---|
void |
MockMultipartRequestHandler.setServlet(ActionServlet servlet)
Convienience method to set a reference to a mock
ActionServlet instance.
|
Modifier and Type | Field and Description |
---|---|
protected ActionServlet |
ModuleConfigVerifier.servlet
The
ActionServlet instance we are associated with. |
protected ActionServlet |
DigestingPlugIn.servlet |
Modifier and Type | Method and Description |
---|---|
void |
ModuleConfigVerifier.init(ActionServlet servlet,
ModuleConfig config) |
void |
DigestingPlugIn.init(ActionServlet servlet,
ModuleConfig config)
Initialize a
Digester and use it to parse a
configuration file, resulting in a root object which will be placed
into the ServletContext. |
Modifier and Type | Field and Description |
---|---|
protected ActionServlet |
FormTag.servlet
The ActionServlet instance we are associated with (so that we can
initialize the
servlet property on any form bean that we
create). |
Modifier and Type | Class and Description |
---|---|
class |
RedeployableActionServlet
WebLogic (at least v6 and v7) attempts to serialize the TilesRequestProcessor
when re-deploying the Webapp in development mode.
|
Modifier and Type | Method and Description |
---|---|
protected Map |
TilesPlugin.findStrutsPlugInConfigProperties(ActionServlet servlet,
ModuleConfig config)
Find original properties set in the Struts PlugInConfig object.
|
void |
TilesPlugin.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Receive notification that the specified module is being
started up.
|
void |
TilesRequestProcessor.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Initialize this request processor instance.
|
protected DefinitionsFactoryConfig |
TilesPlugin.readFactoryConfig(ActionServlet servlet,
ModuleConfig config)
Create FactoryConfig and initialize it from web.xml and struts-config.xml.
|
Modifier and Type | Method and Description |
---|---|
ActionServlet |
CommonsMultipartRequestHandler.getServlet()
Retrieves the servlet with which this handler is associated.
|
ActionServlet |
MultipartRequestHandler.getServlet()
Get the ActionServlet instance
|
Modifier and Type | Method and Description |
---|---|
void |
CommonsMultipartRequestHandler.setServlet(ActionServlet servlet)
Sets the servlet with which this handler is associated.
|
void |
MultipartRequestHandler.setServlet(ActionServlet servlet)
Convienience method to set a reference to a working ActionServlet
instance.
|
Modifier and Type | Method and Description |
---|---|
static String |
RequestUtils.actionIdURL(ForwardConfig forward,
javax.servlet.http.HttpServletRequest request,
ActionServlet servlet)
Returns the true path of the destination action if the specified forward
is an action-aliased URL.
|
static String |
RequestUtils.actionIdURL(String originalPath,
ModuleConfig moduleConfig,
ActionServlet servlet)
Returns the true path of the destination action if the specified forward
is an action-aliased URL.
|
static ActionForm |
RequestUtils.createActionForm(FormBeanConfig config,
ActionServlet servlet)
Create and return an
ActionForm instance appropriate to
the information in config . |
static ActionForm |
RequestUtils.createActionForm(javax.servlet.http.HttpServletRequest request,
ActionMapping mapping,
ModuleConfig moduleConfig,
ActionServlet servlet)
Create (if necessary) and return an
ActionForm instance
appropriate for this request. |
static String |
RequestUtils.getServletMapping(ActionServlet servlet)
Retrieves the servlet mapping pattern for the specified
ActionServlet . |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorPlugIn.init(ActionServlet servlet,
ModuleConfig config)
Initialize and load our resources.
|
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.