Package | Description |
---|---|
org.apache.struts2.dispatcher |
Classes for action dispatching in Struts (the Controller part of MVC).
|
org.apache.struts2.views.freemarker |
Classes for views using FreeMarker.
|
Modifier and Type | Class and Description |
---|---|
class |
PlainTextResult
A result that send the content out as plain text.
|
class |
PostbackResult
A result that renders the current request parameters as a form which
immediately submits a postback
to the specified destination.
|
class |
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. |
class |
ServletDispatcherResult
Includes or forwards to a view (usually a jsp).
|
class |
ServletRedirectResult
Calls the
sendRedirect
method to the location specified. |
class |
StreamResult
A custom Result type for sending raw data (via an InputStream) directly to the
HttpServletResponse.
|
class |
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. |
Modifier and Type | Class and Description |
---|---|
class |
FreemarkerResult
Renders a view using the Freemarker template engine.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.