摘要: 在默认时,<result>标签的type属性值是“dispatcher”(实际上就是转发,forward)。开发人员可以根据自己的需要指定不同的类型,如redirect、stream等。如下面代码所示:<result name="save" type="redirect"> /result.jsp</result>这 此result-type可以在struts2-core-2.0.11.1.jar包或struts2源代码中的struts-default.xml 文件中找到,在这个文件中找到<result-type 阅读全文
posted @ 2013-04-02 15:28 月亮之城 阅读(214) 评论(0) 推荐(0) 编辑