如何解决:找不到“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"

查看:6017
本文介绍了如何解决:找不到“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&quot;的标记库描述符;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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