您的位置:首页 > 其它

According to TLD or attribute directive in tag file, attribute var does not accept any expressions

2017-05-14 00:30 806 查看
今天在使用jstl数字格式化的时候出现了这样一个错误:

JSTL1.2 According to TLD or attribute directive in tag file, attribute var does not accept any expressions

在stackoverflow上发现了不用替换版本的解决方案:

只需要将页面中的

<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>


改为

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


就可以了。

StockOverFlow原文连接

我的个人博客地址
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐