jstl标签库引入

时间:2015-02-02 09:24:41   收藏:0   阅读:302

使用jstl标签库时,出现如下问题,解决办法

严重: Servlet.service() for servlet [jsp] in context with path [/JSP_1] threw exception [The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application] with root cause
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

1、是否在web工程中WEB-INF/lib文件中引入jstl.jar和standard.jar包

2、引入jar包之后,仍然提示上述错误,可能是jar包与tomcat版本冲突问题,需要引入与tomcat版本对应的jar包,一般在apache-tomcat-7.0.47\webapps\examples\WEB-INF\lib这个目录中。

 

原文:http://www.cnblogs.com/zhaojunyang/p/4266759.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!