I want to use the JSTL library in my jsp. Now I followed the tutorial and he told me to add this line to the jsp page:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
This gives me an error that cannot resolve taglib with uri and then url.
I am running tomcat 8. My web.xml is as follows:
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
Does anyone know how to fix this?
source
share