|
||||||||||
上一个 下一个 | 框架 无框架 |
使用 StrutsResultSupport 的软件包 | |
---|---|
org.apache.struts2.dispatcher | Classes for action dispatching in Struts (the Controller part of MVC). |
org.apache.struts2.views.freemarker |
org.apache.struts2.dispatcher 中 StrutsResultSupport 的使用 |
---|
org.apache.struts2.dispatcher 中 StrutsResultSupport 的子类 | |
---|---|
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 |
org.apache.struts2.views.freemarker 中 StrutsResultSupport 的使用 |
---|
org.apache.struts2.views.freemarker 中 StrutsResultSupport 的子类 | |
---|---|
class |
FreemarkerResult
Renders a view using the Freemarker template engine. |
|
||||||||||
上一个 下一个 | 框架 无框架 |