省略显示标题

来源:互联网 发布:英国知名网络品牌 编辑:程序博客网 时间:2024/06/05 18:17
<c:if test="${fn:length(news.title)>10}">${fn:substring(news.title, 0, 10)}...</c:if><c:if test="${fn:length(news.title)<=10}">${news.title}</c:if>
原创粉丝点击