1.跳转方式
dispatcher和chain是服务器端跳转,所以客户端只发起一次请求,产生一个action;
redirect和redirectAction是客户端跳转,所以客户端发起两次请求。
2.跳转内容
dispatcher和redirect跳转的是views(一般是jsp页面);
chain和redirectAction跳转的是一个action。
1.跳转方式
dispatcher和chain是服务器端跳转,所以客户端只发起一次请求,产生一个action;
redirect和redirectAction是客户端跳转,所以客户端发起两次请求。
2.跳转内容
dispatcher和redirect跳转的是views(一般是jsp页面);
chain和redirectAction跳转的是一个action。