JSTL取List的长度
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>--------这里就需要有standard.jar这个包
必须要导的两个包。
后台传过来的比如说List results = new ArrayList();
前台求长度:${fn:length(results )}
转自:http://www.cnblogs.com/henuyuxiang/p/6211208.html