【问题标题】:Undefined attribute name "isELIgnored"未定义的属性名称 \"isELIgnored\"
【发布时间】:2023-02-01 17:10:30
【问题描述】:

`我正在尝试使用 Taglib 检查是否使用 jsp 的语句,但它向我发出警告说 " 未定义的属性名称 "isELIgnored" ";

enter image description here 这是我的代码,并期待它返回 True 块

【问题讨论】:

  • 不要张贴图片。错误消息本身并不能解释问题。

标签: jsp


【解决方案1】:

如果您使用的是 tomcat 8,请在 web.xml 文件中将 webapp 标记内容和 doctype 标记内容替换为以下内容,并在 jsp 页面上替换为 isElegnored false

<?xml version="1.0" encoding="ISO-8859-1" ?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
      http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

【讨论】:

    猜你喜欢
    • 2016-05-18
    • 2012-09-16
    • 1970-01-01
    • 1970-01-01
    • 2015-02-01
    • 2019-01-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多