title: jsp forEach Loop through Array of Images and place theme in specific divs
body: <p>I have 60 images and I want to place 3 images in a div each. </p>
  
  <pre><code>&lt;c:forEach items="${images}" var="image" varStatus="imgCount"&gt;
      &lt;c:if test="${imgCount.count == 3 }"&gt;
          &lt;div class="${gridImage.displayposition}"&gt;
              &lt;img src="${imagePath}${gridImage.image}" /&gt;
          &lt;/div&gt;
     &lt;/c:if&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Would this be the way to accomplish this?</p>