struts1.2在配备转向

struts1.2在配置转向?forward标签的属性redirect默认为true,即重定向-》??? forward nameerror path

struts1.2在配置转向

?<forward>标签的属性redirect默认为true,即重定向-》??? <forward name="error" path="/error/error.jsp" />

从定向到另一个页面中;

?

<forward>也可转发到另一个action请求中:

?? <forward name="tochsf2" path="/xxcj/ycfsfchsf2/chsf2Acion.do?type=222" redirect="false"></forward>

注意redirect="true".方可保留原请求中的数据,而且还可以传入参数,如上述!

----------------------------------

struts2.0的情况如下===》

?

?