MyEclipse 增加标签的问题

    技术2022-05-11  140

    配置web.xml文件

    <taglib>    <taglib-uri>/spring</taglib-uri>    <taglib-location>/WEB-INF/spring.tld</taglib-location>   </taglib>

    如果报  Invalid content was found starting with element 'taglib'时

    你需要加了jsp-config,改后的配置文件为

    <jsp-config>     <taglib>    <taglib-uri>/spring</taglib-uri>    <taglib-location>/WEB-INF/spring.tld</taglib-location>   </taglib> </jsp-config>

     


    最新回复(0)