<table width="100%" border="0">
<tr>
<c:forEach items="${types}" var="type" varStatus="loop">
<td>
abc
</td>
<c:if test="${loop.count%5==0}"></tr><tr></c:if>
</c:forEach>
</tr>
</table>