код такой:
<c:forEach items="${itemList}" var="item"> //do stuff based on the class type of item </c:forEach>
Возможно ли это? Спасибо!