首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts1.2在配备转向

2012-10-16 
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的情况如下===》

?

?

热点排行