<td title="${vo.content}">
<c:if test="${vo.content !=''}">
${fn:substring(vo.content,0,20)}
</c:if>
</td>
只显示20个字符,鼠标放上去提示全部内容
jsp 只显示指定个字符
最新推荐文章于 2021-12-05 21:35:05 发布
<td title="${vo.content}">
<c:if test="${vo.content !=''}">
${fn:substring(vo.content,0,20)}
</c:if>
</td>
只显示20个字符,鼠标放上去提示全部内容