<table>
<c:forEach var="index" varStatus="p" begin="1" end="24" step="1">
<c:if test="${p.count eq 1 || (p.count-1) % 4 eq 0}">
<tr>
</c:if>
<td><label >${index}小时</label></td>
<td>
<input type="hidden" name="parkTime" value="${index}"/>
<input name=price class="easyui-validatebox textbox" data-options="required:true,precision:2,groupSeparator:','" style="width:60px;height:25px;"/>
</td>
<td><label>元 </label></td>
<c:if test="${p.count % 4 eq 0 || p.count % 4 eq 4}">
</tr>
</c:if>
</c:forEach>
<c:forEach var="index" varStatus="p" begin="1" end="24" step="1">
<c:if test="${p.count eq 1 || (p.count-1) % 4 eq 0}">
<tr>
</c:if>
<td><label >${index}小时</label></td>
<td>
<input type="hidden" name="parkTime" value="${index}"/>
<input name=price class="easyui-validatebox textbox" data-options="required:true,precision:2,groupSeparator:','" style="width:60px;height:25px;"/>
</td>
<td><label>元 </label></td>
<c:if test="${p.count % 4 eq 0 || p.count % 4 eq 4}">
</tr>
</c:if>
</c:forEach>
</table>