Need help using <c:forEach> in JSP/JSTL
I am trying to iterate through a 2d array of integers and represent them in a grid using the <table> tag. The catch is that I am not allowed to use any java-script. I know it is something to the effect of the below code, but more complicated. And boardArray returns a 2d integer array. So how would I extract the value at each cell? There is a predetermined size of the array as well. <c:forEach var="array" items="${bean.boardArray}"> <tr> <td>${print out contents of a row}</td> </tr> </c:forEach> You can't do that with plain HTML. You've mentioned HTML in the original question title, but since