title: Adding JSTL to jsp (Tomcat 8)
body: <p>I want to use the JSTL library in my jsp's. Now I followed a tutorial and it told me to add this line to the jsp page:</p>
  
  <pre><code>&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
  </code></pre>
  
  <p>It gives me the error cannot resolve taglib with uri and then the URL.</p>
  
  <p>I'm running tomcat 8. My web.xml is like this:</p>
  
  <pre><code>&lt;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"&gt;
  </code></pre>
  
  <p>Does someone know how to fix this?</p>