title: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
body: <p>I am new to jsp web development and debugging my application to be able to read off a database gives the following error:</p>
  
  <pre><code>The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
  </code></pre>
  
  <p>I researched the internet on multiple sites regarding this issue for so long, unable to fix anything. These are my specs:</p>
  
  <p>IDE: eclipse/
  JSP version: 2.0/
  Servlet version: 2.4/
  JSTL version: 1.1.1/
  Tomcat version: 7.0.35/</p>
  
  <p>This is my WEB-INF/web.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;web-app 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 web-app_2_4.xsd"
  version="2.4"&gt;  
    &lt;resource-ref&gt;
      &lt;description&gt;Resource configuration for database connection&lt;/description&gt;
      &lt;res-ref-name&gt;jdbc/TestDB&lt;/res-ref-name&gt;
      &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
      &lt;res-auth&gt;Container&lt;/res-auth&gt;
    &lt;/resource-ref&gt;
   &lt;/web-app&gt;
  </code></pre>
  
  <p>This is my META-INF/context.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;Context&gt;
  &lt;Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
             maxActive="100" maxIdle="30" maxWait="10000"
             username="admin" password="admin" driverClassName="com.mysql.jdbc.Driver"
             url="jdbc:mysql://localhost:3306/checklist_pdnf"/&gt;
  
   &lt;/Context&gt;
  </code></pre>
  
  <p>And this is my jsp file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  
  &lt;%@ page language="java" contentType="text/html; charset=UTF-8"
      pageEncoding="UTF-8"%&gt;
  
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%&gt;
  &lt;%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %&gt;
  
  &lt;sql:query var="db" dataSource="jdbs/TestDB"&gt;
  select * from patient
  &lt;/sql:query&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;    
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
      &lt;/head&gt;
  &lt;body&gt;  
  &lt;div&gt;
           &lt;table&gt;
      &lt;c:forEach var="row" items="${db.rows}"&gt;    
              &lt;tr&gt;
              &lt;td&gt;row.getString("patient_medicalRecordNumber")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_lastName")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_firstName")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_middleName")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_dateOfBirth")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_gender")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_admissionDateTime")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_dischargeDateTime")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_attendingPhysician")&lt;/td&gt;
              &lt;td&gt;row.getString("patient_locationRoom")&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/c:forEach&gt;    
       &lt;/table&gt;
     &lt;/div&gt; 
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>