EL表达式获取集合大小
首先:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
然后:
${fn:length(list)}
数据库连接参数设置字符集
jdbc:mysql://localhost:3306/envsche?useUnicode=true&characterEncoding=utf8
发布时间: 2012-09-25 09:55:59 作者: rapoo
EL表达式获取集合大小
首先:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
然后:
${fn:length(list)}
数据库连接参数设置字符集
jdbc:mysql://localhost:3306/envsche?useUnicode=true&characterEncoding=utf8