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出现这个错误,哪位能讲明白点我的代码:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core " %>
<html>
<head>
 <title>using tags to output integers</title>
</head>
<body>
<c:foreach var="i" begin="1" end="10" step="2">
<c:out value="${i}" /><br>
</c:foreach>
</body>
</html>

解决方案 »

  1.   

    在你的WEB.xml或JAR包里没有找到配置:http://java.sun.com/jsp/jstl/core你没有加入jstl的JAR包
    加入JSTL的包就可解决问题
      

  2.   

    在你的WEB.xml或JAR包里没有找到配置:http://java.sun.com/jsp/jstl/core
    你没有加入jstl的JAR包
    加入JSTL的包就可解决问题还有可能是系统不认java.sun.com/jsp/jstl/core这个,我以前出现过
    改成<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>