Struts2 result 配置和result 全局配置

1,type 默认是 dispatcher 内部转发,底层是jsp的forward; 2,type 为 redirect 重定向; 3,type 为 chain 链条;chain:比如在aAction里面请求的东西,返回的时候到另一个Action里面继续执行,并且数据可以共享;相当于内部转发到了一个新的Action 4,type 为 redirectAction 重定向到 action;redir
相关文章
相关标签/搜索