软件包 org.apache.struts2.dispatcher

Classes for action dispatching in Struts (the Controller part of MVC).

请参见:
          描述

接口摘要
DispatcherListener A interface to tag those that want to execute code on the init and destory of a Dispatcher.
StaticContentLoader Interface for loading static resources, based on a path.
 

类摘要
ActionContextCleanUp 已过时。 Since Struts 2.1.3, use StrutsPrepareFilter and StrutsExecuteFilter to use other Servlet filters that need access to the ActionContext
ApplicationMap A simple implementation of the Map interface to handle a collection of attributes and init parameters in a ServletContext object.
DefaultActionSupport A simple action support class that sets properties to be able to serve
DefaultStaticContentLoader Default implementation to server static content

This class is used to serve common static content needed when using various parts of Struts, such as JavaScript files, CSS files, etc.

Dispatcher A utility class the actual dispatcher delegates most of its tasks to.
Dispatcher.Locator Provide an accessor class for static XWork utility.
FilterDispatcher 已过时。 Since Struts 2.1.3, use StrutsPrepareAndExecuteFilter instead or StrutsPrepareFilter and StrutsExecuteFilter if needing using the ActionContextCleanUp filter in addition to this one
FilterDispatcherCompatWeblogic61 已过时。 Since Struts 2.1.3 as it probably isn't used anymore
HttpHeaderResult

A custom Result type for setting HTTP headers and status by optionally evaluating against the ValueStack.

PlainTextResult A result that send the content out as plain text.
PostbackResult A result that renders the current request parameters as a form which immediately submits a postback to the specified destination
RequestMap A simple implementation of the Map interface to handle a collection of request attributes.
ServletActionRedirectResult This result uses the ActionMapper provided by the ActionMapperFactory to redirect the browser to a URL that invokes the specified action and (optional) namespace.
ServletDispatcherResult Includes or forwards to a view (usually a jsp).
ServletRedirectResult Calls the sendRedirect method to the location specified.
SessionMap<K,V> A simple implementation of the Map interface to handle a collection of HTTP session attributes.
StreamResult A custom Result type for sending raw data (via an InputStream) directly to the HttpServletResponse.
StrutsRequestWrapper All Struts requests are wrapped with this class, which provides simple JSTL accessibility.
StrutsResultSupport A base class for all Struts action execution results.
VelocityResult Using the Servlet container's JspFactory, this result mocks a JSP execution environment and then displays a Velocity template that will be streamed directly to the servlet output
 

软件包 org.apache.struts2.dispatcher 的描述

Classes for action dispatching in Struts (the Controller part of MVC).