tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: jsp can´t find tag library file.
Date Mon, 29 Jan 2001 23:12:21 GMT


> Antillon Reyes Rafael Martin - EXT wrote:
> 
> Hi all.
> 
> My problem is that the jsp i run can´t find the tld i specified.
> I´ve tried some things, but i don´t know what to do.
> This is the code:
> 
> 
> <%@ taglib uri="csajsp-taglib.tld" prefix="csajsp" %>
> 
> Where does the file has to be?
> 
> what else do i have to specify in tomcat 3.1, wich is the one i´m
> using?
> 
> any idea??
> 

Your web.xml file must also include taglib information - example:

  <taglib>
    <taglib-uri>JSPbook/taglib</taglib-uri>
    <taglib-location>
       /WEB-INF/jsp/JSPbook-taglib.tld
    </taglib-location>
  </taglib>

See the JSP API documentation - everybody should have a copy.
-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Mime
View raw message