Uses of Class
org.apache.struts.action.ActionServlet
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
Contains the new
ComposableRequestProcessor
which was introduced in Struts 1.3.This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file.The upload package facilities to upload files using
multi-part requests.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
The validator package provides a series of classes to validate
ActionForm
type of input.-
Uses of ActionServlet in org.apache.struts.action
Modifier and TypeFieldDescriptionprotected 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.protected ActionServlet
RequestProcessor.servlet
The servlet with which we are associated.Modifier and TypeMethodDescriptionAction.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 TypeMethodDescriptionvoid
PlugIn.init
(ActionServlet servlet, ModuleConfig config) Receive notification that the specified module is being started up.void
RequestProcessor.init
(ActionServlet servlet, ModuleConfig moduleConfig) Initialize this request processor instance.void
Action.setServlet
(ActionServlet servlet) Set the servlet instance to which we are attached (ifservlet
is non-null), or release any allocated resources (ifservlet
is null).void
ActionForm.setServlet
(ActionServlet servlet) Set the servlet instance to which we are attached (ifservlet
is non-null).ModifierConstructorDescriptionActionServletWrapper
(ActionServlet servlet) Create object and setservlet
property. -
Uses of ActionServlet in org.apache.struts.chain
Modifier and TypeMethodDescriptionvoid
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. -
Uses of ActionServlet in org.apache.struts.chain.contexts
Modifier and TypeMethodDescriptionServletActionContext.getActionServlet()
Return theActionServlet
for this context.Modifier and TypeMethodDescriptionvoid
ServletActionContext.setActionServlet
(ActionServlet servlet) Set theActionServlet
instance for this context. -
Uses of ActionServlet in org.apache.struts.config
Modifier and TypeMethodDescriptionFormBeanConfig.createActionForm
(ActionServlet servlet) Create and return anActionForm
instance appropriate to the information in thisFormBeanConfig
. -
Uses of ActionServlet in org.apache.struts.upload
Modifier and TypeMethodDescriptionCommonsMultipartRequestHandler.getServlet()
Retrieves the servlet with which this handler is associated.MultipartRequestHandler.getServlet()
Get the ActionServlet instance.Modifier and TypeMethodDescriptionvoid
CommonsMultipartRequestHandler.setServlet
(ActionServlet servlet) Sets the servlet with which this handler is associated.void
MultipartRequestHandler.setServlet
(ActionServlet servlet) Convenience method to set a reference to a working ActionServlet instance. -
Uses of ActionServlet in org.apache.struts.util
Modifier and TypeMethodDescriptionstatic 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 String
RequestUtils.actionIdURL
(ForwardConfig forward, HttpServletRequest request, ActionServlet servlet) Returns the true path of the destination action if the specified forward is an action-aliased URL.static ActionForm
RequestUtils.createActionForm
(HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet) Create (if necessary) and return anActionForm
instance appropriate for this request.static ActionForm
RequestUtils.createActionForm
(FormBeanConfig config, ActionServlet servlet) Create and return anActionForm
instance appropriate to the information inconfig
.static String
RequestUtils.getServletMapping
(ActionServlet servlet) Retrieves the servlet mapping pattern for the specifiedActionServlet
. -
Uses of ActionServlet in org.apache.struts.validator
Modifier and TypeMethodDescriptionvoid
ValidatorPlugIn.init
(ActionServlet servlet, ModuleConfig config) Initialize and load our resources.