EL表达式中获取list长度
2016-06-16 23:37
330 查看
在jsp页面中不能通过${list.size}取列表长度,而是 <%@ taglib uri="<a target=_blank target="_blank" rel="nofollow" href="http://java.sun.com/jsp/jstl/core" style="color: rgb(51, 102, 153); text-decoration: none;">http://java.sun.com/jsp/jstl/core</a>" prefix="c"%> <%@ taglib prefix="fn" uri="<a target=_blank target="_blank" rel="nofollow" href="http://java.sun.com/jsp/jstl/functions" style="color: rgb(51, 102, 153); text-decoration: none;">http://java.sun.com/jsp/jstl/functions</a>"%> list的长度是:${fn:length(list)}
相关文章推荐
- 在OL6.5_64上安装Oracle11gR2_64
- UIImage知识点汇总(二)
- HDU-3486 Interviewe
- 微服务与SOA之间差了一个ESB
- 随笔
- 快速将对象转化为JSON格式
- 熵与互信息
- python中的进程、线程(threading、multiprocessing、Queue、subprocess)
- asp.net MVC分页
- 【Proteus】灰色状态问题+74194实现8个流水灯
- asp.net MVC分页
- 图 --->图
- 设计模式-11-代理模式
- SqlServer开窗函数
- 一起talk C栗子吧(第一百六十六回:C语言实例--大小写字符转换)
- JS 原型继承的几种方法
- Ubuntu12常见问题解决
- 5.1 python基础
- UIView 的常用方法及注意事项
- [Android进阶]之深入了解通信协议:http、TCP/IP协议与socket之间的区别