码迷,mamicode.com
首页 > Web开发 > 详细

jstl 中无法使用EL语句。异常信息:According to TLD or attribute directive in tag file, attribute value does not accept any expressions

时间:2017-06-12 11:46:26      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:属性   使用   tag   glib   stl   expr   dir   accept   file   

JSTL 标签库的有两种 taglib 伪指令, 其中 RT 库即是依赖于 JSP 传统的请求时属性值, 而不是依赖于 EL 来实现:

只要将

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

改为

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

jstl 中无法使用EL语句。异常信息:According to TLD or attribute directive in tag file, attribute value does not accept any expressions

标签:属性   使用   tag   glib   stl   expr   dir   accept   file   

原文地址:http://www.cnblogs.com/handsomeBoys/p/6991982.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!