Uses of Package
org.apache.struts.action
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.Configurable commands that may be placed within the
request processor.
Contains generic commands.
Commands which are particular to servlet processing.
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.Generated classes by antlr to support the
validwhen
validator.-
ClassDescriptionAn Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.A class that encapsulates the error messages being reported by the
validate()
method of anActionForm
.An ActionForm is a JavaBean optionally associated with one or moreActionMappings
.An ActionForward represents a destination to which the controller, RequestProcessor, might be directed to perform a RequestDispatcher.forward or HttpServletResponse.sendRedirect to, as a result of processing activities of an Action class.An ActionMapping represents the information that the controller,RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class.An encapsulation of an individual message returned by thevalidate
method of anActionForm
, consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text.A class that encapsulates messages.This class is used to store a set of messages associated with a property/key and the position it was initially added to list.A subclass ofActionForward
which is designed for use in redirecting requests, with support for adding parameters at runtime.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".Provide a wrapper around anActionServlet
to expose only those methods needed by other objects.Specialized subclass ofActionForm
that allows the creation of form beans with dynamic sets of properties, without requiring the developer to create a Java class for each type of form bean.Implementation ofDynaClass
forDynaActionForm
classes that allow developers to define ActionForms without having to individually code all of the classes.Thrown when a token generated by the Cancel tag is found in the request, but the cancellable property for the Action Mapping is not set.RequestProcessor contains the processing logic that theActionServlet
performs as it receives each servlet request from the container. -
ClassDescriptionActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".RequestProcessor contains the processing logic that the
ActionServlet
performs as it receives each servlet request from the container. -
ClassDescriptionAn Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.A class that encapsulates the error messages being reported by the
validate()
method of anActionForm
.An ActionForm is a JavaBean optionally associated with one or moreActionMappings
. -
ClassDescriptionAn ActionForm is a JavaBean optionally associated with one or more
ActionMappings
. -
ClassDescriptionAn Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.A class that encapsulates the error messages being reported by the
validate()
method of anActionForm
.An ActionForm is a JavaBean optionally associated with one or moreActionMappings
. -
ClassDescriptionAn Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.An ActionForm is a JavaBean optionally associated with one or more
ActionMappings
.A class that encapsulates messages.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". -
ClassDescriptionAn ActionForm is a JavaBean optionally associated with one or more
ActionMappings
.An ActionFormBean is the definition of a form bean that is loaded from a<form-bean>
element in the Struts configuration file.An ActionForward represents a destination to which the controller, RequestProcessor, might be directed to perform a RequestDispatcher.forward or HttpServletResponse.sendRedirect to, as a result of processing activities of an Action class.An ActionMapping represents the information that the controller,RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class.A class that encapsulates messages.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".Implementation ofDynaClass
forDynaActionForm
classes that allow developers to define ActionForms without having to individually code all of the classes. -
ClassDescriptionAn ActionMapping represents the information that the controller,
RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". -
ClassDescriptionAn ActionForm is a JavaBean optionally associated with one or more
ActionMappings
.An ActionMapping represents the information that the controller,RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class.An encapsulation of an individual message returned by thevalidate
method of anActionForm
, consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text.A subclass ofActionForward
which is designed for use in redirecting requests, with support for adding parameters at runtime.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". -
ClassDescriptionA class that encapsulates the error messages being reported by the
validate()
method of anActionForm
.An ActionForm is a JavaBean optionally associated with one or moreActionMappings
.An ActionMapping represents the information that the controller,RequestProcessor
, knows about the mapping of a particular request to an instance of a particularAction
class.An encapsulation of an individual message returned by thevalidate
method of anActionForm
, consisting of a message key (to be used to look up message text in an appropriate message resources database) plus up to four placeholder objects that can be used for parametric replacement in the message text.A class that encapsulates messages.ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".Specialized subclass ofActionForm
that allows the creation of form beans with dynamic sets of properties, without requiring the developer to create a Java class for each type of form bean.A PlugIn is a configuration wrapper for a module-specific resource or service that needs to be notified about application startup and application shutdown events (corresponding to when the container callsinit
anddestroy
on the correspondingActionServlet
instance). -