title: List displaying only first record using jstl in jsp
body: <p><a href="https://i.stack.imgur.com/9el1h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9el1h.png" alt="enter image description here"></a></p>
  
  <p>My List  in spring controller is as shown.</p>
  
  <p>I am trying to display the records in jsp as.</p>
  
  <pre><code>  &lt;c:forEach items="${myList}" var="myList"&gt;
          &lt;tr&gt;
              &lt;td&gt;${myList[0].submittedOn}&lt;/td&gt; 
              &lt;td&gt;${myList[0].title}&lt;/td&gt;    
          &lt;/tr&gt;
     &lt;/c:forEach&gt;
  </code></pre>
  
  <p>When I do this it prints only the first row, and I need to display all rows in jsp.</p>