strut2 action传递参数注意点

来源:互联网 发布:js双日历农历插件 编辑:程序博客网 时间:2024/06/06 01:28

  <action name="detailInfor" class="com.yidian.web.front.action.DetailInformation">
   <result>/info/detailInfor.jsp?</result>
   <result name="addMessage" type="redirect-action">detailInfor?item=${item}&amp;inforId=${inforId}</result>
  </action>

 

如上面,如果form提交过来的数据需要

1.item在form内

2.inforId在form内

3.&用&amp;替代

4.addMessage为执行execute的返回值