标签:style blog class code c java
1、
HttpServletRequest request=ServletActionContext.getRequest();
........
request.setAttribute("list", list);
2
#request.list
<!-- value代表一个集合List --> <s:iterator value="#request.list"> <tr> <!-- 必须加“#”,不然取的是column.column --> <!-- 必须加“#”,不然取的是column.column --> <td align="center"><s:property value="v_id" /></td> </td> <td align="center"><s:property value="v_name" /></td> </td> </tr> </s:iterator>
Done!
strust2之jsp调用action的变量,布布扣,bubuko.com
标签:style blog class code c java
原文地址:http://www.cnblogs.com/xingyyy/p/3735518.html