<c:forEach items="${map}" var="m" varStatus="status">
<tr>
<td width="193" height="77">
<div class="tra_tx1 tra_tx4" id="changeColorForNum${status.count}">
<a href="/webpage/product/perin.jsp"><img src="/resource/p_w_picpaths/tra_24.jpg" width="49" height="49"></a><div>
<script type="text/javascript">
if(${status.count}<10){
document.write('0${status.count}');
}else{
document.write(${status.count});
}
</script>
</div></div>
<span>${m['username']}</span><br> ${m['address']}</td>
<td align="center"><p style="font-size:16px; color:#e79b00;">${m['fxjy']}</p>
<p>笔</p></td>
<td align="center"><p style="font-size:16px; color:#e79b00;">${m['cply']}</p>
<p>元</p></td>
<td align="center"><p style="font-size:16px; color:#e79b00;">${m['bjly']}</p>
<p>元</p></td>
<td align="center"><p style="font-size:16px; color:#e79b00;">${m['hbl']}</p>
<p>%</p></td>
<td width="161" align="center"><input type="submit" name="button" class="button2" value="添加关注"></td>
</tr>
</c:forEach>
转载于:https://blog.51cto.com/xuliangjun/1617814