有些時候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>會報錯,錯誤提示爲:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
主要原因是缺少
jstl.jar
standard.jar
兩個Jar包
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
主要原因是缺少
jstl.jar
standard.jar
兩個Jar包
解決此問題的方法爲以下:
在新建的工程的WEB-INF/lib文件夾裏就會有
jstl.jar
standard.jar
拷貝到出錯的工程的WEB-INF/lib里加入
jstl.jar
standard.jar
即可解決這個問題