如何解决:找不到“http://java.sun.com/jsp/jstl/core"的标签库描述符 [英] How to resolve : Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

查看:41
本文介绍了如何解决:找不到“http://java.sun.com/jsp/jstl/core"的标签库描述符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.library.controller.*"%>
<%@ page import="com.library.dao.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.lang.*" %>
<%@ page import="java.util.Date" %>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Return Page</title>
</head>
<body bgcolor="#aabcde">
<div align="right"><a href="Login.jsp">Logout</a></div>
<table align="center" border="2" cellspacing="3" cellpadding="3">
<tr><th>BookID</th><th>BookName</th><th>Issuedate</th><th>returndate</th></tr>
<c:forEach var="element" items="${list}">
    <tr>
        <td>${element.getBookid}</td><td>${element.getBookname()}</td>  
        <td>${element.getIssuedate()}</td><td>${element.getReturndate()}</td>
    </tr>
</c:forEach>

Eclipse IDE 显示红色下划线,当我聚焦它时,标签是:找不到 http://java.sun.com/jsp/jstl/core

The Eclipse IDE is showing red underline and when I focus it the tag is : can not find the library descriptor for http://java.sun.com/jsp/jstl/core

推荐答案

我也用这个

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

但我没有收到任何错误.

but I don't get any error.

你在你的库中包含了 jstl.jar 吗?如果不是,这可能会导致问题.还有'tld'文件夹吗?你的 web.xml 映射了吗?

Did you include the jstl.jar in your library? If not maybe this causing the problem. And also the 'tld' folder do you have it? And how about your web.xml did you map it?

查看有关 jstl 的信息以获取其他信息.

Have a look on the info about jstl for other information.

这篇关于如何解决:找不到“http://java.sun.com/jsp/jstl/core"的标签库描述符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆