页面头部引入 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 使用 ${fn:length(i.commod)}