我有JSTL的一个问题,我使用的Eclipse IDE,并创建了一个新的Web应用程序的项目版本2.5jstl的问题,jasperException URI没有发现
我已经下载同时包含jstl1.1和标准jstl-1.2.jar
罐子,并在我的项目库中正确添加。
我引用我的taglib的方法是:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
由c.tld
文件规定:
<description>JSTL 1.1 core library</description>
<display-name>JSTL core</display-name>
<tlib-version>1.1</tlib-version>
<short-name>c</short-name>
<uri>http://java.sun.com/jsp/jstl/core</uri>
Eclipse不以红色下划线任何东西,或不给任何警告,因此taglib参考是好的,我不知道,为什么,我永远运行该项目,我得到以下错误:
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在c.tld
文件中,该文件是用于部署应用程序的文件之一。
现在说实话,这工作得很好,在另一个IDE中,我不会提及市场相关的原因,只是我希望它也能在eclipse中工作。
你有什么建议吗?
它适用于我的jstl.jar类路径。 – Bozho 2011-02-05 21:24:37