title: jstl foreach omit an element in last record
body: <p>trying to use this jstl to formulate a json string, how can i make the segment not to put a comma in the end of the last record? note the comma in the end</p>
  
  <pre><code>&lt;c:forEach items="${fileList}" var="current"&gt;
      { id:1001,data:["&lt;c:out value="${current.fileName}" /&gt;" , "&lt;c:out value="${current.path}" /&gt;" , "&lt;c:out value="${current.size}" /&gt;" , "&lt;c:out value="${current.type}" /&gt;"] },
  &lt;/c:forEach&gt;
  </code></pre>