Apache tomcat 7 taglib规范版本不一致

Apache tomcat 7 taglib规范版本不一致,apache,jsp,tomcat,Apache,Jsp,Tomcat,我已经将taglib作为- <%@ taglib prefix="wf" uri="http://www.wrox.com/begjsp/el-functions-taglib" %> 我在另一个线程上读到不应该在web.xml中定义taglib。那么,根据新规范,它应该在哪里?我错过什么了吗?请让我知道。 谢谢 Stacy。不确定这是否有帮助,但我在尝试查找黑板插件问题时遇到了这篇关于Tomcat 7 taglib声明的文章 在Tomcat7中,在web.xml文件中,标记li

我已经将taglib作为-

<%@ taglib prefix="wf" uri="http://www.wrox.com/begjsp/el-functions-taglib" %>
我在另一个线程上读到不应该在web.xml中定义taglib。那么,根据新规范,它应该在哪里?我错过什么了吗?请让我知道。 谢谢
Stacy。

不确定这是否有帮助,但我在尝试查找黑板插件问题时遇到了这篇关于Tomcat 7 taglib声明的文章

在Tomcat7中,在web.xml文件中,标记lib应该封装在元素中

    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd"
version="3.0">
       // some description and name


   <taglib>
    <taglib-uri>
       http://www.wrox.com/begjsp/el-functions-taglib
    </taglib-uri>
    <taglib-location>
       /WEB-INF/jsp/function-taglib.tld
    </taglib-location>
</taglib>
schema = "...web-app_3_0.xsd"
version="3.0">`