I am getting following error:
The taglib declaration I have:
<%@ taglib prefix="s" uri="http://java.sun.com/jsp/jstl/core" %>
Also I have included jstl.jar in my project libraries folder as can be seen above. So what could be other possible reasons.
jstl.jar
and standard.jar
. /WEB-INF/lib
folder. Directive for JSTL Core:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
I had the same problem, the solution was removing the "/jsp" from uri:
"<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>"
In my case, I also had to change the "jstl/core" to "jstl/core_rt"
Regards.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.