title: JSP foreach tag for two variables
body: <p>I want to do something like this</p>
  
  <pre><code>&lt;c:forEach var="item1" items="List1" var="item2" items="List2"&gt;
   &lt;p&gt; ${item1} ${item2}&lt;/p&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>One solution is to iterate through both the List, if both are of same size</p>
  
  <pre><code>&lt;c:forEach var="i" begin="0" end="$(fn:length(List1))"&gt;
   &lt;p&gt; &lt;%= List1.get(i) %&gt; &lt;%= List2.get(i)%&gt;  //wrong syntax 
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Any idea how to achieve this.</p>