Getting an unresolvable error in JSP

When I run a normal JSP code for the for loop,

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<c:forEach var="i" begin="1" end="5">
   Item <c:out value="${i}"/><p>
</c:forEach>
</body>
</html>

It shows me the output of

type Exception report

message : 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

description: The server encountered an internal error that prevented it from fulfilling this request.

I have downloaded and included JSTL 1.2 under WEB-INF/lib

Can anyone resolve this?

TIA enter code here

链接地址: http://www.djcxy.com/p/74768.html

上一篇: 捕获组? (?:)做什么?

下一篇: 在JSP中获取无法解析的错误