1.引入<%@ taglib prefix= "fn" uri="http://java.sun.com/jsp/jstl/functions"%> 2.<c:if test="${fn:length(errList)>0}">