<c:forEach items="${b.goodMap}" var="entry" varStatus="status">
${entry.key}(${fn:length(entry.value)})${status.last?"":", "}
</c:forEach>
开始做,坚持做,重复做方式2:
<c:forEach items="${b.goodMap}" var="entry" varStatus="status">
${entry.key}(${fn:length(entry.value)})
<c:choose>
<c:when test="${status.last}">
</c:when>
<c:otherwise>
,
</c:otherwise>
</c:choose>
</c:forEach>