I. Problems Found
Run the JSP page referenced by jstl
Error Reporting http://java.sun.com/jsp/jstl/core cannot be resolved in either web. xml or the jar
Ii. Cause Analysis
Possible 1: version issues
Jstl1.0 declaration is: <% @ taglib prefix = "C" uri = "http://java.sun.com/jstl/core" %>
Jstl1.1 statement is: <% @ taglib prefix = "C" uri = http://java.sun.com/jsp/jstl/core %>
Possible 2: No standard. Jar
Javaee5 comes with jstl1.2 version, the page is all with this method.
However, after javaee5, only jstl. jar is provided. Without Standard. jar, the TLD file is also packaged into jar. There is no way to configure JSP-config in the web. xml file.
Try to add standard. jar.
Possible three: Tomcat released application WEB-INF/lib without jstl. Jar
The jstl. jar package exists in the IDE project, but it does not exist in the application WEB-INF/lib released by Tomcat. This is the problem of tool release project. Copy a jar package and solve the problem in the past.
Original post address:Http://blog.csdn.net/lzz313/article/details/7554736