title: JSP Web Applications Throws Errors The Absolute URL Cannot be Solved By the JSTL
body: <p>I created jsp web applications . I am using Mysql for backend . I downloaded jstl 1.2 versions . I am trying to run the applications but I am getting this Errors..</p>
  
  <pre><code> HTTP Status 500 – Internal Server Error
  
  
  Type Exception Report
  
  Message 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
  
  Description The server encountered an unexpected condition that prevented it from fulfilling the request.
  
  Exception
  </code></pre>
  
  <p>Here is my jsp web applications code .</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  
  &lt;%@ page import = "java.io.*,java.util.*,java.sql.*"%&gt;
  &lt;%@ page import = "javax.servlet.http.*,javax.servlet.*" %&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix = "sql"%&gt;
  
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="ISO-8859-1"&gt;
  &lt;title&gt;SELECT Operation&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
        &lt;sql:setDataSource var = "snapshot" driver = "com.mysql.jdbc.Driver"
           url = "jdbc:mysql://localhost/TEST"
           user = "root"  password = ""/&gt;
  
        &lt;sql:query dataSource = "${snapshot}" var = "result"&gt;
           SELECT * from Employees;
        &lt;/sql:query&gt;
  
        &lt;table border = "1" width = "100%"&gt;
           &lt;tr&gt;
              &lt;th&gt;Emp ID&lt;/th&gt;
              &lt;th&gt;First Name&lt;/th&gt;
              &lt;th&gt;Last Name&lt;/th&gt;
              &lt;th&gt;Age&lt;/th&gt;
           &lt;/tr&gt;
  
           &lt;c:forEach var = "row" items = "${result.rows}"&gt;
              &lt;tr&gt;
                 &lt;td&gt;&lt;c:out value = "${row.id}"/&gt;&lt;/td&gt;
                 &lt;td&gt;&lt;c:out value = "${row.first}"/&gt;&lt;/td&gt;
                 &lt;td&gt;&lt;c:out value = "${row.last}"/&gt;&lt;/td&gt;
                 &lt;td&gt;&lt;c:out value = "${row.age}"/&gt;&lt;/td&gt;
              &lt;/tr&gt;
           &lt;/c:forEach&gt;
        &lt;/table&gt;
  
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is web.xml code .</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" version="4.0"&gt;
  
    &lt;display-name&gt;Java&lt;/display-name&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Here is output when I run the applications .</p>
  
  <p><a href="https://i.stack.imgur.com/MwuaE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MwuaE.png" alt="enter image description here"></a></p>