Error using JSTL XML taglib - attribute xml does not accept any expressions

前端 未结 6 1573
遇见更好的自我
遇见更好的自我 2021-01-24 12:12

I\'m getting the following error when I try to use the JSTL XML taglib:

/server-side-transform.jsp(51,0) 
According to TLD or attribute directive in tag file,
at         


        
6条回答
  •  感情败类
    2021-01-24 12:51

    change <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> is not right for me. for my project(web-app version="3.0" ) IDE(MyEclipse) I see the configuration file of x.tld.There is the false of select which do not allow the select apperance ${} or <%=%>.So I got a way to cheat in the web.xml.

    1. /huang /WEB-INF/x.tld add to web.xml

    2. declare the new taglib-url name "huang" to my jsp file like this:

      <%@ taglib prefix="x" uri="/huang" %>

    3. to use

      I can get the right result

提交回复
热议问题