需要先引入标签:<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> ${fn:substring(m.content,0,10) }........