此问题一般是因为jar(jstl.jar,和standard.jar) 导致的问题:
第一种:
就是在Eclipse的工程中导入JSTL.jar 和 standard.jar
第二种:
修改web.xml,加上下面的语句:
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
</jsp-config>
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp
最新推荐文章于 2020-12-13 17:02:27 发布
本文介绍了解决Eclipse中JSTL配置问题的方法,包括正确导入JSTL.jar和standard.jar文件,以及如何在web.xml中添加必要的配置来启用JSTL标签库。
662

被折叠的 条评论
为什么被折叠?



