最近使用Struts2+Spring3+Mybatis3作一个项目,在用户修改页面显示生日,html
org.apache.jasper.JasperException: /WEB-INF/user/PersonInfo.jsp(98,10) According to TLD or attribute directive in tag file, attribute value does not accept any expressions<fmt:formatDate value="${user.birthday}" pattern="yyyy-MM-dd"/>, 结果在jsp页面出现一个提示,“value does not support runtime expressions”, 若是你不理会这个提示,将出现下面这个错误
解决的方式:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>改成:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>其余方式没作测试,有知道请说一声!