Struts跳转方式 一、跳转到jsp页面 1、服务器跳转dispatcher是struts默认跳转类型,地址栏显示action,能传值
2、客户端跳转redirect地址栏显示jsp二、跳转到action1、服务器跳转chain是struts默认跳转类型,地址栏显示action,能传值 2、客户端跳转redirectAction地址栏显示jsp,不能向跳转的action传值,必须用param进行传值例如:三、struts2 action跳转到action 并传值
二、跳转到action1、服务器跳转chain是struts默认跳转类型,地址栏显示action,能传值 2、客户端跳转redirectAction地址栏显示jsp,不能向跳转的action传值,必须用param进行传值例如:三、struts2 action跳转到action 并传值
2、客户端跳转redirectAction地址栏显示jsp,不能向跳转的action传值,必须用param进行传值例如:三、struts2 action跳转到action 并传值
例如:三、struts2 action跳转到action 并传值