问题场景:
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core
问题描述:
这个问题在使用tomcat8.5系列的服务器之后,就很少出现了;
原因分析:
暂时省略
解决方案:
解决方案一:
1.将jstl-1.2.jar,添加到web工程中并build Path
2.通过压缩软件,找到该jar 包的相关配置文件
3.在web.xml中进行配置(我这边使用fmt.tld,因为我报的是其它标签库的值)
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
</jsp-config>
最后别忘了在*.jsp页面中,引用标签库