Package org.apache.struts.action
package org.apache.struts.action
The action package is the core of the struts framework, providing the "Controller" aspect of a MVC model.
Package Specification
##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:-
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 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.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.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.An ExceptionHandler is configured in the Struts configuration file to handle a specific type of exception thrown by anAction.execute
method.A subclass ofActionForward
that defaults theredirect
attribute tofalse
.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.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).A subclass of ActionForward that defaults theredirect
attribute totrue
.Subclass ofActionMapping
that defaults the form bean scope torequest
.RequestProcessor contains the processing logic that theActionServlet
performs as it receives each servlet request from the container.Subclass ofActionMapping
that defaults the form bean scope tosession
.