c fn标签

来源:互联网 发布:unity3d渲染流程 编辑:程序博客网 时间:2024/05/22 17:20

1格式化时间或者截取显示过长的文字

${fn:substring(date,0,16)} / ${fn:substring(title,0,20)}

2c:if的特殊使用

<c:if test="${fn:length(title)>22}">...</c:if>

3获取长度

${fn:length(title)}

0 0
原创粉丝点击