title: http://displaytag.sf.net cannot be resolved in either web.xml or the jar files
body: <p>While trying to load from the database, I am getting the following errors in eclipse. </p>
  
  <pre><code>org.apache.jasper.JasperException: The absolute uri: http://displaytag.sf.net cannot be resolved in either web.xml or the jar files
  </code></pre>
  
  <p>Complete stack trace here:</p>
  
  <pre><code>SEVERE: Servlet.service() for servlet jsp threw exception
  org.apache.jasper.JasperException: The absolute uri: http://displaytag.sf.net cannot be resolved in either web.xml or the jar files deployed with this application
      at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
      at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
      at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.&lt;init&gt;(TagLibraryInfoImpl.java:149)
      at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)
      at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:450)
      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1397)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:130)
      at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>Please find the web.xml here.</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;SpringAndHibernate&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;/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;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>And View page:</p>
  
  <pre><code>&lt;%@ taglib uri="http://displaytag.sf.net" prefix="display"%&gt;
  &lt;html&gt;
  &lt;h2&gt;Welcome&lt;/h2&gt;
  &lt;a href="indexpage.htm"&gt;Click here for Home&lt;/a&gt;
  
  &lt;h2 align="center"&gt;View Information&lt;/h2&gt;
  &lt;body&gt;&lt;/body&gt;&lt;center&gt;
  &lt;display:table cellpadding="2" cellspacing="20" id="employee" name="employee" pagesize="10"
      export="false" requestURI="displayEmployee.htm"&gt;
      &lt;display:column property="emp_id" title="Employee Id" sortable="true" /&gt;
      &lt;display:column property="name" title="Employee Name"
          href="editdata.htm" paramId="id" paramProperty="emp_id"
          sortable="true" /&gt;
      &lt;display:column property="address" title="Address" sortable="true" /&gt;
      &lt;display:column property="salary" title="Salary" sortable="true" /&gt;
      &lt;display:column value="Delete" href="deletedata.htm" paramId="id"
          paramProperty="emp_id" title="Delete" sortable="true" /&gt;
      &lt;display:setProperty name="paging.banner.placement" value="bottom" /&gt;
  &lt;/display:table&gt;
  &lt;/center&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Do I need to declare for <code>&lt;%@ taglib uri="http://displaytag.sf.net" prefix="display"%&gt;</code> with web.xml?</p>
  
  <p>I have gone via
  <a href="https://stackoverflow.com/questions/5122944/display-tag-the-absolute-uri-http-displaytag-sf-net-cannot-be">Display tag : The absolute uri: http://displaytag.sf.net cannot be</a> 
  but not resolved.</p>