I have a list of images in an array list:
<c:forEach items="${articleContent.articleMediaList}" var="gridImage" varStatus="imgCount">
<img src="${imagePath}${gridImage.image"/>
</c:forEach>
Right now this is printing out all the images. I just want it to print out the third image. Also, how could I get it to print out a range of images say 1 to 3?
you can use imgCount.count or imgCount.index for getting numbering and after that you can handle it.