日期:2014-05-19 浏览次数:20794 次
<action name="allroundInfoDeleteBy" class="allroundInfoAction" method="deleteAllroundInfo"> <result name="success" type="redirectAction"> <param name="actionName">allroundInfoAction/findByItem.action</param> <param name="id">${session.userId}</param> <param name="uname">${uname}</param> </result> </action>
private String uname; public String getUname() { return uname; } public void setUname(String uname) { this.uname = uname; }
<% String uname = new String(request.getParameter("uname").getBytes( "ISO8859-1"), "UTF-8"); %> <input type="hidden" name="uname" value="<%=uname%>"/>
allroundInfo/findByItem.action?id=${session.userId}&&uname=<s:property value="name"/>