title: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
body: <blockquote>
    <p>org.apache.jasper.JasperException: The absolute uri: <a href="http://java.sun.com/jsp/jstl/core" rel="nofollow">http://java.sun.com/jsp/jstl/core</a> cannot be resolved in either web.xml or the jar files deployed with this application</p>
  </blockquote>
  
  <p>When i run my application i get this error. </p>
  
  <p>Here is my userForm.jsp </p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  &lt;style type="text/css"&gt;
  .even {
      background-color: silver;
  }
  &lt;/style&gt;
  &lt;title&gt;Registration Page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;form:form action="add.htm" commandName="user"&gt;
      &lt;table&gt;
          &lt;tr&gt;
              &lt;td&gt;User Name :&lt;/td&gt;
              &lt;td&gt;&lt;form:input path="name" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Password :&lt;/td&gt;
              &lt;td&gt;&lt;form:password path="password" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Gender :&lt;/td&gt;
              &lt;td&gt;&lt;form:radiobutton path="gender" value="M" label="M" /&gt; &lt;form:radiobutton
                  path="gender" value="F" label="F" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Country :&lt;/td&gt;
              &lt;td&gt;&lt;form:select path="country"&gt;
                  &lt;form:option value="0" label="Select" /&gt;
                  &lt;form:option value="India" label="India" /&gt;
                  &lt;form:option value="USA" label="USA" /&gt;
                  &lt;form:option value="UK" label="UK" /&gt;
              &lt;/form:select&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;About you :&lt;/td&gt;
              &lt;td&gt;&lt;form:textarea path="aboutYou" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Community :&lt;/td&gt;
              &lt;td&gt;&lt;form:checkbox path="community" value="Spring"
                  label="Spring" /&gt; &lt;form:checkbox path="community" value="Hibernate"
                  label="Hibernate" /&gt; &lt;form:checkbox path="community" value="Struts"
                  label="Struts" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;/td&gt;
              &lt;td&gt;&lt;form:checkbox path="mailingList"
                  label="Would you like to join our mailinglist?" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="2"&gt;&lt;input type="submit" value="Register"&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/form:form&gt;
  &lt;c:if test="${fn:length(userList) &gt; 0}"&gt;
      &lt;table cellpadding="5"&gt;
          &lt;tr class="even"&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Gender&lt;/th&gt;
              &lt;th&gt;Country&lt;/th&gt;
              &lt;th&gt;About You&lt;/th&gt;
          &lt;/tr&gt;
          &lt;c:forEach items="${userList}" var="user" varStatus="status"&gt;
              &lt;tr class="&lt;c:if test="${status.count % 2 == 0}"&gt;even&lt;/c:if&gt;"&gt;
                  &lt;td&gt;${user.name}&lt;/td&gt;
                  &lt;td&gt;${user.gender}&lt;/td&gt;
                  &lt;td&gt;${user.country}&lt;/td&gt;
                  &lt;td&gt;${user.aboutYou}&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/c:forEach&gt;
      &lt;/table&gt;
  &lt;/c:if&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and below is web.xml</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://java.sun.com/xml/ns/javaee" 
           xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
           http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
           id="WebApp_ID" version="2.5"&gt;
    &lt;display-name&gt;SpringExample17&lt;/display-name&gt;
    &lt;servlet&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;redirect.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>