在Tomcat 5.5\webapps\ROOT\WEB-INF\lib目录中已经加载jstl和standard文件,但是运行仍然错误?谢谢

来源:百度知道 编辑:UC知道 时间:2024/09/21 00:51:23
<%@page contentType="text/html"%>
<%@page pageEncoding="Ms950"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head><title>1head>
<body>
<c:out value="这是<c:out>输出的文字" /><br>
</body>
</html>
运行报错: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。。。。。。。。。。。。
请高手指点。

面对这些情况呢,最好是将uri换成本地文件。。。直接将jar包中的tld文件放到应用的目录下再经行引用就好了。。。省很多麻烦事。

url最后改为core_rt就好了.猫5.5的默认加载的不需另外导包

在这个地方【 http://java.sun.com/jsp/jstl/core】找不到schema,指向本地schema吧!