title: How to iterate over a list of lists in jstl?
body: <p>I have List in this format : </p>
  
  <pre><code>List&lt;List&lt;Obj&gt;&gt; l3 = new ArrayList&lt;List&lt;Obj&gt;&gt;();
  </code></pre>
  
  <p>Obj contains a method called getVal.</p>
  
  <p>How can I output the value of getVal for each Obj ?</p>
  
  <p>I can iterate over a List using : </p>
  
  <pre><code>&lt;c:forEach var="mylist" items="${mylist}"&gt;
  
      &lt;c:out value="${mylist.val}"&gt;&lt;/c:out&gt;
  
      &lt;/c:forEach&gt;
  </code></pre>
  
  <p>But how do I get the values contained in a list of lists ? </p>