`

s:iterator数据累加示例代码

    博客分类:
  • j2ee
 
阅读更多
<s:set var="xs_heji" value="0" />
<s:set var="km_heji" value="0" />
<s:iterator value="pager.list" var="pfsubjectmap">
<tr>
<td>&nbsp;${pfsubjectmap.jsid }</td>
<td>&nbsp;${pfsubjectmap.deskname }</td>
<td>&nbsp;${pfsubjectmap.jsshijian }</td>
<td>&nbsp;</td>
<td>&nbsp;${pfsubjectmap.shijixiaoshoujin_e }</td>
<td>&nbsp;${pfsubjectmap.jsfsjin_e }</td>
</tr>
<s:set var="xs_heji" value="#pfsubjectmap.shijixiaoshoujin_e+#xs_heji" />
<s:set var="km_heji" value="#pfsubjectmap.jsfsjin_e+#km_heji" />
</s:iterator>

<s:property value="#km_heji" />
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics