Uses of Class
org.apache.struts.action.ActionServlet
Packages that use 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
Fields in org.apache.struts.action declared as ActionServletModifier 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.Methods in org.apache.struts.action that return ActionServletModifier 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.Methods in org.apache.struts.action with parameters of type ActionServletModifier 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).Constructors in org.apache.struts.action with parameters of type ActionServletModifierConstructorDescriptionActionServletWrapper
(ActionServlet servlet) Create object and setservlet
property. -
Uses of ActionServlet in org.apache.struts.chain
Methods in org.apache.struts.chain with parameters of type ActionServletModifier 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
Methods in org.apache.struts.chain.contexts that return ActionServletModifier and TypeMethodDescriptionServletActionContext.getActionServlet()
Return theActionServlet
for this context.Methods in org.apache.struts.chain.contexts with parameters of type ActionServletModifier and TypeMethodDescriptionvoid
ServletActionContext.setActionServlet
(ActionServlet servlet) Set theActionServlet
instance for this context. -
Uses of ActionServlet in org.apache.struts.config
Methods in org.apache.struts.config with parameters of type ActionServletModifier and TypeMethodDescriptionFormBeanConfig.createActionForm
(ActionServlet servlet) Create and return anActionForm
instance appropriate to the information in thisFormBeanConfig
. -
Uses of ActionServlet in org.apache.struts.upload
Methods in org.apache.struts.upload that return ActionServletModifier and TypeMethodDescriptionCommonsMultipartRequestHandler.getServlet()
Retrieves the servlet with which this handler is associated.MultipartRequestHandler.getServlet()
Get the ActionServlet instance.Methods in org.apache.struts.upload with parameters of type ActionServletModifier 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
Methods in org.apache.struts.util with parameters of type ActionServletModifier 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
Methods in org.apache.struts.validator with parameters of type ActionServletModifier and TypeMethodDescriptionvoid
ValidatorPlugIn.init
(ActionServlet servlet, ModuleConfig config) Initialize and load our resources.