Let's try the following code. The details of <c:forEach> tag and collection the I iterate is the a List of Map that I mentioned in this post: JSP JSTL < c: forEach > Tag
<c:forEach var="item" items="${codingTipList}" varStatus="loop"> <p> <c:if test="${loop.last}"> [last element] </c:if> Item ${item} </p> </c:forEach>You can see the result like followings :