title: Get the Object Index From ArrayList with JSTL
body: <p>Is it possible to get the "row" index from an arraylist using JSTL?</p>
  
  <pre><code>&lt;c:forEach items="${searchResults}" var="contact"&gt;
  &lt;div style="padding: 5px;"&gt;
  ${contact.firstName} ${contact.lastName}
  &lt;br&gt;
  ${contact.primaryPhone}
  &lt;/div&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>My intention is to set a hyperlink that contains each items ID on each row so the user can click and display a popup, or another page and easily retrieve just the single object from the arraylist without going back to the database and setting another session object etc.</p>