servlet2.4 和servlet2.5中配置taglib的区别

2.4写法:
<jsp-config>
    <taglib>
        <taglib-url>/*</taglib-url>
        <taglib-location>/WEB-INF/xxx.tld</taglib-location>
    </taglib>
</jsp-config>

2.5写法

<taglib>
    <taglib-url>/*</taglib-url>
    <taglib-location>/WEB-INF/xxx.tld</taglib-location>
</taglib>

猜你喜欢

转载自dong-shuai22-126-com.iteye.com/blog/1888241