Getting trouble in installing tag lib in Apache tomcat7

前端 未结 3 1228
予麋鹿
予麋鹿 2021-02-06 14:43

I have application and I want to use jstl tag lib.

I have two jars JSTL.jar and standard.jar. I put both in my WEB-INF/lib

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 15:19

    If you are one of the lucky few that have to support old code and removing taglib in your web.xml is not an option. You can enclose it in like so:

    
      
        /taglibs/custom-taglib
        /WEB-INF/custom-taglib.tld
      
    
    

提交回复
热议问题