title: Comma separated values within JSP for-each tag
body: <p>I am trying to get a JSTL <code>&lt;c:forEach&gt;</code> tag to work so that it would print a list of names as follows:</p>
  
  <pre><code>Best, Milo, Kane
  </code></pre>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;c:forEach items="${persons}" var="person"&gt;
      ${person.name}, 
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>However, on the last person/name, a comma is inserted at the end, e.g. </p>
  
  <pre><code>Best, Milo, Kane,
  </code></pre>
  
  <p>How can I avoid the last comma in the loop? </p>