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.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 |
RequestProcessor.servlet
The servlet with which we are associated.
|
protected ActionServlet |
Action.servlet
The servlet to which we are attached.
|
protected ActionServlet |
ActionForm.servlet
The servlet instance to which we are attached.
|
protected ActionServlet |
ActionServletWrapper.servlet
The servlet instance to which we are attached.
|
Modifier and Type | Method and Description |
---|---|
ActionServlet |
Action.getServlet()
Return the servlet instance to which we are attached.
|
protected ActionServlet |
ActionForm.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 |
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). |
void |
ActionForm.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 | 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 |
---|---|
ActionForm |
FormBeanConfig.createActionForm(ActionServlet servlet)
Create and return an
ActionForm instance appropriate
to the information in this FormBeanConfig . |
Modifier and Type | Field and Description |
---|---|
protected ActionServlet |
DigestingPlugIn.servlet |
protected ActionServlet |
ModuleConfigVerifier.servlet
The
ActionServlet instance we are associated with. |
Modifier and Type | Method and Description |
---|---|
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. |
void |
ModuleConfigVerifier.init(ActionServlet servlet,
ModuleConfig config) |
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 | Method and Description |
---|---|
protected java.util.Map |
TilesPlugin.findStrutsPlugInConfigProperties(ActionServlet servlet,
ModuleConfig config)
Find original properties set in the Struts PlugInConfig object.
|
void |
TilesRequestProcessor.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Initialize this request processor instance.
|
void |
TilesPlugin.init(ActionServlet servlet,
ModuleConfig moduleConfig)
Receive notification that the specified module is being
started up.
|
protected DefinitionsFactoryConfig |
TilesPlugin.readFactoryConfig(ActionServlet servlet,
ModuleConfig config)
Create FactoryConfig and initialize it from web.xml and struts-config.xml.
|
Modifier and Type | Field and Description |
---|---|
private ActionServlet |
CommonsMultipartRequestHandler.servlet
The servlet with which this handler is associated.
|
protected ActionServlet |
DiskMultipartRequestHandler.servlet
Deprecated.
The ActionServlet instance used for this class.
|
Modifier and Type | Method and Description |
---|---|
ActionServlet |
MultipartRequestHandler.getServlet()
Get the ActionServlet instance
|
ActionServlet |
CommonsMultipartRequestHandler.getServlet()
Retrieves the servlet with which this handler is associated.
|
ActionServlet |
DiskMultipartRequestHandler.getServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MultipartRequestHandler.setServlet(ActionServlet servlet)
Convienience method to set a reference to a working
ActionServlet instance.
|
void |
CommonsMultipartRequestHandler.setServlet(ActionServlet servlet)
Sets the servlet with which this handler is associated.
|
void |
DiskMultipartRequestHandler.setServlet(ActionServlet servlet)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
private ActionServlet |
ValidatorPlugIn.servlet
The
ActionServlet owning this application. |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorPlugIn.init(ActionServlet servlet,
ModuleConfig config)
Initialize and load our resources.
|
Copyright ? 2000-2014 - The Apache Software Foundation