title: JSTL <c:forEach> not supports List<Integer>?
body: <pre><code>                            ${test}
                               &lt;c:forEach items=" ${test}" var="sharedType"&gt;
                                    ${sharedType}&lt;br/&gt;
                                   &lt;c:if test="${sharedType == 2}" &gt;
                                       &lt;span class="tweet-button"&gt;&lt;/span&gt;
                                   &lt;/c:if&gt;
                                   &lt;c:if test="${sharedType == 1}" &gt;
                                       TEST
                                       &lt;a href="#" class="fbshare-button"&gt;Share&lt;/a&gt;
                                   &lt;/c:if&gt;
                              &lt;/c:forEach&gt;
  </code></pre>
  
  <p>The integer list is 1,2,3. 
  On my page, it show [1,2,3] for ${test}, and "[1" "2" "3" for ${sharedType} in 3 iterations. Looks like JSTL think it is a String separated by comma rather than a list. 
  The code to generate the list in java is:</p>
  
  <pre><code>List&lt;Integer&gt; test= new ArrayList&lt;Integer&gt;();
              test.add(1);
              test.add(2);
              test.add(3); 
  </code></pre>
  
  <p>I have been struggling with this for a while, can anyone help me with this? Thanks. </p>