多语言展示
当前在线:724今日阅读:39今日分享:10

http://java.sun.com/jsp/jstl/core 报错

jstl标签的使用
方法/步骤
1

org.apache.jasper.JasperException: 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 at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH

2

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:117)at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:311)at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:152)

3

at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410)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

方法/步骤2
1

andler.java:56)at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:445)

2

没有jstl架包。下载jstl架包,引入;如果是maven项目引入    javax.servlet.jsp.jstl    jstl    1.2

3

jsp也买你引入<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %><%@ page contentType='text/html;charset=UTF-8' language='java' %>

4

就可以使用jstl标签了。 

推荐信息