- 8
- 0
- 约1.35万字
- 约 9页
- 2017-05-10 发布于贵州
- 举报
Struts2 rsult配置学习笔记2
在struts2-core.jar/struts-default.xml中,我们可以找到关于result-type的一些配置信息,从中可以看出struts2组件默认为我们提供了这
些result-type
result-types
result-type name=chain class=com.opensymphony.xwork2.ActionChainResult/
result-type name=dispatcher class=org.apache.struts2.dispatcher.ServletDispatcherResult default=true/
result-type name=freemarker class=org.apache.struts2.views.freemarker.FreemarkerResult/
result-type name=httpheader class=org.apache.struts2.dispatcher.HttpHeaderResult/
result-type name=redirect class=org.apache.struts2.dispatcher.Serv
原创力文档

文档评论(0)