The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
来源:互联网 发布:js对象转为json字符串 编辑:程序博客网 时间:2024/06/06 03:13
做项目的时候在myeclipse自带的tomcat中调试运行都没有什么问题可是上传之前拿出来在tomcat6.0中调试却发现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的错误
这是因为页面中用了struts标签的原因。
解决方法:
1。下载jstl1.1 解压后把lib文件夹下的jstl.jar和standard.jar复制到项目的WEB—INF/lib目录下,到此结束就行,如果还需要tld等。再做以下操作。(并把tld文件夹下的c.tld放到WEB—INF目录下)
2。在web.xml中加入如下语句
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
</jsp-config>
jstl 下载:http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in ei
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- 使用Jstl异常:HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in
- 使用Jstl异常:HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved i
- JSTL 1.2 - The absolute uri: http://java.sun.com/jstl/core cannot be resolved
- Jsp 报错 错误 PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either
- HTTP Status 500 - The absolute uri: http://Java.sun.com/jstl/core cannot be resolved...
- HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either w
- HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either w
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- 一些选好虚拟主机控制面板的秘诀
- Fortran 逻辑变量(LOGICAL)
- 怎样做好项目经理(随笔)
- android性能测试工具之dumpstate
- 映射文件resultMap
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- 我的网站及域名
- 在类库中引用WebService的注意事件
- Linux/Unix同Windows文件传输
- 压力传感器控制步进电机
- 深入浅出linux内核源代码之双向链表list_head(下)
- Activity生命周期
- flex中dataGrid里的按钮调用事件
- Open Inventor练习-SoSelection节点下三维物体选择功能