I am trying to learn taglibs under tomcat4, but I got this error :
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: File "/taglib16.tld" not found


This is what I have under tomcat4 :
webapps\portal.jsp
webapps\first.jsp
webapps\second.jsp
webapps\WEB-INF\lib\porttag.jar
webapps\WEB-INF\tlds\taglib16.tld
webapps\WEB-INF\web.xml

The web.xml is :
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
  <!-- The Welcome File List -->
  <welcome-file-list>
    <welcome-file>portal.jsp</welcome-file>
  </welcome-file-list>
  <!-- Template Tag Library Descriptor -->
  <taglib>
    <taglib-uri>/WEB-INF/tlds/taglib16.tld </taglib-uri>
    <taglib-location>/WEB-INF/tlds/taglib16.tld </taglib-location>
  </taglib>
</web-app>

Thanks


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to