For each loop in JSTL


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <c:forEach items="${result}" varStatus="status" var="item">
  2. ${item.title}
  3. </c:forEach>

URL: http://eisabainyo.net/weblog/introduction-to-jsp-standard-tag-library-jstl-basics/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.