`
elaine0111
  • 浏览: 92961 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论
阅读更多
result type的类型说明如下:
Chain           : 用来处理Action链
Dispatcher      : 用来转向页面,通常处理JSP
FreeMarker      : 处理FreeMarker模板
HttpHeader      : 用来控制特殊的Http行为
Redirect        : 重定向到一个URL
Redirect-Action : 重定向到一个Action
Stream          : 向浏览器发送InputSream对象,通常用来处理文件下载
Velocity        :处理Velocity模板
XLS             :处理XML/XLST模板
PlainText       :显示原始文件内容,例如文件源代码
S2PLUGINS:Tiles : 结合Tile使用

在struts2-core-2.x.jar中可以找到struts-default.xml文件,这个文件内已经有了对于所有类型Result的定义;
分享到:
评论

相关推荐

    struts2 result转向到action

    从jsp页面提交form表单后,在struts.xml中寻找匹配的action。在action中处理完业务后返回,在struts.xml中的result属性中转向到另外一个action。

    struts2的action的几种result type说明

    struts2的action的几种result type说明

    jsp\No result defined for action and result input.doc

    jsp\No result defined for action and result input.doc

    No result defined for action.doc

    No result defined for action.doc

    Java面试资料,面试准备、面试题,面试真题

    STAR法则(Situation Task Action Result) FAB 法则(Feature Advantage Benefit) 1.2.4 项⽬经历怎么写? 1.2.5 专业技能该怎么写? 1.2.6 排版注意事项 1.2.7 其他的⼀些⼩tips 1.2.8 推荐的⼯具/⽹站 1.3 ⼤...

    asp.net mvc

    The FileResult action result now supports non-US-ASCII characters in file names. Methods and properties of the TempDataDictionary class have been improved to better handle the case when items are ...

    struts2中的result的type类型

    struts2 跳转类型 result type chain dispatcher redirect redirect action

    1-吴良波-Apache-Flink-在网易的实践_compressed1

    3. send message 4. return result 6. action result 5. update starting 9. update r

    Struts2从一个带参数action跳转到另一个action

    资源中示例了一个struts2的配置文件中配置的action的result结果为另外一个action的配置,该跳转的过程中是带所有参赛调整的,在另外一个action中可以接受到当前action的所有参数,此配置文件是我日常开发中的经验...

    Action名称的搜索顺序

    Action名称的搜索顺序Action配置的默认值Action中Result的结果类型

    Struts2中Action接收参数的方法

    Struts2 中 Action 接收参数的方法 Struts2 框架中,Action 组件可以通过多种方式接收参数,这些方式包括使用 Action 的属性、使用 DomainModel 和使用 ModelDriven。下面将详细介绍这些方法: 使用 Action 的属性...

    闪虎搜索 多语言版

    基于谷歌的驱动搜索产生结果,能用英语 法语 德语 日语 韩语 等搜索。 下载后 请把每个文件夹里的index.php和result.php中的form action result.htm变为result.php就可以使用了。

    struts2中result类型之redirectAction

    struts2中result类型之redirectAction

    Groovy in action

    The result is the true definitive guide to the new Groovy language., Groovy in Action introduces Groovy by example, presenting lots of reusable code while explaining the underlying concepts....

    用QTP实现数据的整理(将test1.xsl中的数据整理成result.xls)

    用来将../Test6/test.xls中的数据整理成../result.xls中的数据样式。 代码中有详细的QTP与Excel之间的交互使用方法以及VBscript的常用方法等。 是参考和学习的最佳实例文件。 将代码解压,用QTP打开即可使用。另也...

    Natural Language Processing in Action

    The result? Chatbots that can imitate real people, meaningful resume-to-job matches, superb predictive search, and automatically generated document summaries—all at a low cost. New techniques, along...

    publish-unit-test-result-action:GitHub Action在GitHub上发布单元测试结果

    GitHub行动发布单元测试结果 该分析单元测试结果文件,并将结果发布在GitHub上。 它支持JUnit XML文件格式。 单元测试结果发布在相应提交的GitHub Actions部分中: 注意:如果单元测试失败,则此操作不会失败。...

    spring batch in action

    The result? No standards, poor code reusability, numerous in-house solutions, and lots of frustrated developers. Jointly developed by SpringSource and Accenture, Spring Batch fills this critical gap ...

    esayshopping电商系统

    <result name="add" type="redirect">noticelist.action</result> <result name="failure">/admin/login.jsp</result> <result name="deletenotice" type="redirect">noticelist.action</result> <result name...

    struts2实例 学生信息管理系统

    <result type="redirect">List.action</result> </action> <action name="Remove" class="action.BookAction" method="remove"> <result type="redirect">List.action</result> </action>--> </struts>

Global site tag (gtag.js) - Google Analytics