1、c:forTokens标签 循环后台传回的字符串 用逗号分割并且简单判断
<c:forTokens items="${event.businesscodename}" delims="," varStatus="status1" var="bname" begin='0' end='3'>
<c:if test="${status1.index<1}"><c:choose>
<c:when test="${status1.last}">
${bname}
</c:when>
<c:otherwise>
${bname},
</c:otherwise>
</c:choose>
</c:if>
<c:if test="${status1.index ==1}">
${bname } <font color='red'>...</font>
<input type='button' name='more' id='more' value='更多' οnclick='morevalue("${event.businesscodename}")'/>
</c:if>
</c:forTokens>