fn长度函数用法

  <c:choose>
  <c:when test="${fn:length(items.lwSubject) > 10}"><c:out value="${fn:substring(items.lwSubject, 0, 10)}......" /></c:when>
   <c:otherwise><c:out value="${items.lwSubject}" /></c:otherwise>
  </c:choose>

posted on 2007-05-28 12:38 五味子 阅读(160) 评论(0)  编辑  收藏 所属分类: JSTL


只有注册用户登录后才能发表评论。


网站导航:
 

导航

<2025年6月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

统计

留言簿

随笔分类

文章分类

文章档案

搜索

最新评论