struts2 struts.xml result type 属性的说明
2014-06-18 11:23
501 查看
dispatcher | org.apache.struts2.dispatcher. | 默认结果类型,用来呈现JSP页面 |
ServletDispatcherResult | ||
chain | com.opensymphony.xwork2. | 将action和另外一个action链接起来 |
ActionChainResult | ||
freemarker | org.apache.struts2.views.freemarker. | 呈现Freemarker模板 |
FreemarkerResult | ||
httpheader | org.apache.struts2.dispatcher. | 返回一个已配置好的HTTP头信息响应 |
HttpHeaderResult | ||
redirect | org.apache.struts2.dispatcher. | 将用户重定向到一个已配置好的URL |
ServletRedirectResult | ||
redirectAction | org.apache.struts2.dispatcher. | 将用户重定向到一个已定义好的action |
ServletActionRedirectResult | ||
stream | org.apache.struts2.dispatcher. | 将原始数据作为流传递回浏览器端, |
StreamResult | 该结果类型对下载的内容和图片非常有用 | |
velocity | org.apache.struts2.dispatcher. | 呈现Velocity模板 |
VelocityResult | ||
xslt | org.apache.struts2.views.xslt. | 呈现XML到浏览器, |
XSLTResult | 该XML可以通过XSL模板进行转换 | |
plaintext | org.apache.struts2.dispatcher. | 返回普通文本类容 |
PlainTextResult |
相关文章推荐
- 道听途说Struts2之14:struts2.xml 中result type属性说明
- struts2.xml 中result type属性说明
- struts2.xml 中result type属性说明
- struts2.xml 中result type属性说明
- struts.xml文件中 result标签的 type 属性为redirectAction时URL参数与值的获得
- struts.xml属性重名处理:关于<package><action><result>的name和namespace属性同名时struts2的处理
- struts2.xml 中result type属性说明
- Struts2-2.了解struts.xml>package>action>result的name属性
- struts2.xml 中result type属性说明
- struts.xml文件中<result>的type属性详解
- Struts2 中result type属性说明
- Struts2.xml中result type属性说明
- Struts.xml <result>中type的几种属性
- struts2.xml 中result type属性说明
- struts.xml中的Result标签的type属性
- Struts2 中result type属性说明
- struts2.xml 中result type属性说明
- struts2的result type属性说明
- struts2 result type属性说明
- Struts2 中result type属性说明