<action name="enterpriseUser_*" class="zn.crp.action.LoginAction"
method="{1}">
<result name="success">/user/index.jsp</result>
<result name="treaty">/user/zc/treaty.jsp</result>
<result name="userTest">/user/zc/userTest.jsp</result>
<!-- 我从一个action中跳转到下面的一个页面
这个action中有插入数据库的方法,等我到了下一个跳转的页面后,我
刷新页面,就会造成很多空数据,而且我下个页面需要这个action传过来
的数据 所以下面 type="redirect"不行,而且,对于<token>
配置的话,其他的方法又回被拦截,请各位帮帮忙,我也想过禁止刷新
但是好像不妥,你不能禁止浏览器的刷新
-->
<result name="qyzctxy">/user/zc/qyzctxy.jsp</result>
<result name="qdzc">/user/sr_login.jsp</result>
<result name="login_fail">/user/sr_login.jsp</result>
<result name="fail">/fail.jsp</result>
</action>
method="{1}">
<result name="success">/user/index.jsp</result>
<result name="treaty">/user/zc/treaty.jsp</result>
<result name="userTest">/user/zc/userTest.jsp</result>
<!-- 我从一个action中跳转到下面的一个页面
这个action中有插入数据库的方法,等我到了下一个跳转的页面后,我
刷新页面,就会造成很多空数据,而且我下个页面需要这个action传过来
的数据 所以下面 type="redirect"不行,而且,对于<token>
配置的话,其他的方法又回被拦截,请各位帮帮忙,我也想过禁止刷新
但是好像不妥,你不能禁止浏览器的刷新
-->
<result name="qyzctxy">/user/zc/qyzctxy.jsp</result>
<result name="qdzc">/user/sr_login.jsp</result>
<result name="login_fail">/user/sr_login.jsp</result>
<result name="fail">/fail.jsp</result>
</action>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货