<%@ 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"
解决办法:
下载JSTL1.1 http://jakarta.apache.org/taglibs/index.html
选择下载:jakarta-taglibs-standard-1.1.2.zip
然后解压,把jakarta-taglibs-standard-1.1.2\lib里的jstl.jar 、standard.jar放到/WEB-INF/lib目录下。再build path下导入项目。JSP文件中导入<%@ taglib prefix="c" uri="/WEB-INF/lib/c.tld" %>就可以使用了。
注意:若JSTL版本不对,会报出This absolute uri http://java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application的错误