<table border="0" cellpadding="2">
<c:foreach items="${pics}" var="pic" varstatus="status">
<c:if test="${((status.index)%3)==0}"><tr></c:if>
<td>
<input class='input-0-border' name="bk_no" type="radio" value="${pic.piccode}"
<c:if test="${status.index==0}">checked</c:if>
onclick='changeval(this.value)'/>
<c:if test="${not empty(pic.logopath)}"><img src="${pic.logopath}"></c:if>
<c:if test="${empty(pic.logopath)}"><c:out value="${pic.picname}"/></c:if>
<input type="hidden" name="bk_name" value="<c:out value="${pic.picname}"/>">
</td>
<c:if test="${((status.index+1)%3)==0}"></tr></c:if>
</c:foreach>
</table>
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
-
-
Java基础篇一
选一个自己喜欢的开发工具我这里先选择IDEA进行讲解,如需要下载MyEclipse的话我可以提供下载地址,或者直...
[阅读全文]
-
常用的配置文件
web.xml最新版Servlet的配置文件:web.xml<?xml version="1.0" enc...
[阅读全文]
-
-
-
-
-
网友评论