<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>