Package org.apache.struts2.dispatcher

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

See:
          Description

Interface Summary
DispatcherListener A interface to tag those that want to execute code on the init and destory of a Dispatcher.
 

Class Summary
ActionContextCleanUp Special filter designed to work with the FilterDispatcher and allow for easier integration with SiteMesh.
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
Dispatcher A utility class the actual dispatcher delegates most of its tasks to.
Dispatcher.Locator Provide an accessor class for static XWork utility.
FilterDispatcher Master filter for Struts that handles four distinct responsibilities: Executing actions Cleaning up the ActionContext (see note) Serving static content Kicking off XWork's interceptor chain for the request lifecycle

IMPORTANT: this filter must be mapped to all requests.

FilterDispatcherCompatWeblogic61 When running Weblogic Server 6.1, this class should be specified in web.xml instead of FilterDispatcher.
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.
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 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.
 

Package org.apache.struts2.dispatcher Description

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



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.