一、问题

在jsp中,想要这么写:

<c:url value='/resources/themes/${easyuiThemeName}/easyui.css'/>

但报错:According to TLD or attribute directive in tag file, attribute items does not accept any expressions。

意思是在attribute里不允许表达式。

二、解决

将页面的

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

改成

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

 

相关文章:

  • 2021-05-17
  • 2021-12-01
  • 2021-05-30
  • 2021-08-30
  • 2022-01-08
  • 2021-06-16
  • 2021-05-25
  • 2021-11-16
猜你喜欢
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-05-17
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案