背景:
tomcat8.0中使用taglib
错误表现:
java.lang.IllegalArgumentException: taglib definition not consistent with specification version
原因:
tomcat6以上在web.xml中定义taglib时要嵌入到jsp-config标签中
<jsp-config>
<taglib>
<taglib-uri></taglib-uri>
<taglib-location></taglib-location>
</taglib>
</jsp-config>
时间: 2024-10-13 12:52:36