1 <td><c:choose> 2 <c:when test="${fn:length(notice.title) > 10}"> 3 <font title="${notice.title}">${fn:substring(notice.title, 4 0, 10)}...</font> 5 </c:when> 6 <c:otherwise> 7 <c:out value="${notice.title}" /> 8 </c:otherwise> 9 </c:choose></td>
1 <td><c:choose> 2 <c:when test="${fn:length(notice.title) > 10}"> 3 <font title="${notice.title}">${fn:substring(notice.title, 4 0, 10)}...</font> 5 </c:when> 6 <c:otherwise> 7 <c:out value="${notice.title}" /> 8 </c:otherwise> 9 </c:choose></td>
转载于:https://www.cnblogs.com/moonlignt/p/7299826.html