struts2 重定向 传参数问题。
程序代码:
<action name="addInfo" class="infoAction" method="add"> <result name="success" type="redirectAction"> <param name="actionName">listInfo</param> <param name=" ">${info.id}</param> <param name=" ">${info.title}</param> </result> ///param name=" "应该怎么填写? </action> <action name="listInfo" class="infoAction" method="list"> <result name="success">/infolist.jsp</result> </action> //infolist.jsp <s:iterator id="c" value="infos" status="s"> <s:property value="id" /> <s:property value="title" /> </s:iterator>