<c:if test="${fn:length(work.workTitle)>5}">
${fn:substring(work.workTitle, 0, 5)} ...
</c:if>
<c:if test="${fn:length(work.workTitle)<=5}">
${work.workTitle}
</c:if>
作者:下半夜的雨
来源:CSDN
原文:https://blog.csdn.net/fancheng614/article/details/78312965
版权声明:本文为博主原创文章,转载请附上博文链接!
网友评论