JSTL taglib URI is obsolete?

后端 未结 2 1258
耶瑟儿~
耶瑟儿~ 2021-02-04 06:23

I\'ve been checking out Spring MVC tutorial and copied this small JSP code from there:

<%@ page session=\"false\"%>
<%@ taglib prefix=\"c\" uri=\"http:/         


        
相关标签:
2条回答
  • 2021-02-04 06:51

    If you're still getting this error, but you're hand crafting your pom, you probably have missed the standard library. e.g. I'd missed

        <dependency>
            <groupId>taglibs</groupId>
            <artifactId>standard</artifactId>
            <version>${jstl.version}</version>
        </dependency>
    
    0 讨论(0)
  • 2021-02-04 06:52

    Yes, it's well known that the URI for taglibs changed between JSTL versions 1.0 and 1.1. If you happen to get examples that use the old standard and try to use them with the new taglib JAR you'll have this problem.

    0 讨论(0)
提交回复
热议问题