| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 676 人关注过本帖
标题:[求助]JSP的JSTL问题?
只看楼主 加入收藏
gaoaaabc
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2005-12-23
收藏
 问题点数:0 回复次数:0 
[求助]JSP的JSTL问题?
代码如下:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>


<html>
<body>
You sent the following request headers:
<br />
<table border="1">
<tr>
<th>
Header
</th>
<th>
Value
</th>
</tr>

<c:forEach var="entry" items="${header}">
<tr>
<td>
${entry.key}
</td>
<td>
${entry.value}
</td>
</tr>
</c:forEach>

</table>
</body>
</html>

上面的文件名为request.jsp,在webapps目录下的RequestHeaders文件夹里,RequestHeaders目录中还有WEB-INF目录,WEB-INF目录中还有lib目录,我将JSTL1.1中的二个JAR文件放入了lib目录中,但结果有误.错误代码如下:
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

我的TOMCAT为5.5,能否在你的机器上运行一下看能否运行,谢谢
搜索更多相关主题的帖子: JSTL JSP 
2005-12-23 18:26
快速回复:[求助]JSP的JSTL问题?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.033463 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved