struts2 :result type的使用
来源:互联网 发布:淘宝lv和supreme正品店 编辑:程序博客网 时间:2024/05/01 14:48
服务器跳转:
dispatcher: 只能跳转到(forword)另外一个jsp页面; 常用 默认就是,浏览器只发起一次请求,服务器端发生跳转 ,客户端不重新发起请求。
chain : forword 到 action ,action前面不加/ ,后面不加.action, 地址栏显示的是初始访问的action
如果action在另外包中,方式eg:
<result type="chain">
<param name="actionName">dashboard</param>
<param name="namespace">/secure</param>
</result >
===========================================================================
客户端跳转:浏览器(客户端)发起请求,服务器收到请求,然后回复给客户端,客户端重新发起请求,
redirect : 跳转到jsp,地址栏依旧显示的是.jsp 。
redirectAction :跳转到action, 地址栏显示的是跳转到的action
- struts2 :result type的使用
- Struts2 的Result Type
- Struts2的Result Type
- Struts2的Result Type
- Struts2 的 Result Type
- Struts2的Result Type
- Struts2的Result Type
- Struts2 的Result Type
- Struts2的result-type
- struts2 的 result 的 type
- struts2的result-type详解
- 关于struts2的result type
- struts2的result-type详解
- struts2的result-type详解
- struts2的result-type详解 .
- struts2 result 的type类型
- struts2的result-type详解
- struts2的result-type详解
- 关于自动化测试心得(一)
- 再创学习生命力—破与立中成长
- Spring事务配置的五种方式
- Rails宝典之第十九式: admin在哪里
- Javascript之文件操作 (IE)
- struts2 :result type的使用
- viusual studio 2008
- 关于Parasoft的中更改C++test的作者计算方式
- iPhone起步-2:iPhone常用控件、UIActionSheet、UIAlertView (转)
- 跟着二厶学编程---JAVA第四章---【变量,对白版】
- 数据库设计中关于表和列的名称
- iPhone起步-1: "Hello,World!" in iPhone Development (转)
- c语言中逗号运算符和逗号表达式
- 解决win7+IE8+开发人员工具不显示问题(附图)