tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ward, Jeff" <>
Subject RE: Error 500 Messages
Date Tue, 13 Mar 2001 22:50:47 GMT
  You have some problems with how you are registering your taglib, how you
are using it and how you have built the web-app. First off try changing the
taglib line in the web-xml to this:

Next, in the jsp page reference the taglib like this:
<%@ taglib uri="dbtaglib" prefix="sys" %>

Finally, you put the WEB-INF under a directory called engsys/sys /WEB-INF.
Unless you have manually set the location of the web-app to be engsys/sys
tomcat will have mounted engsys as the web-app and will not see your
WEB-INF/web.xml (or any of the tlds etc). try moving the WEB-INF directory
to engsys/WEB-INF. This would explain why Tomcat couldn't see:
<%@ taglib uri="/WEB-INF/tlds/dbtaglib.tld" prefix="sys" %>
It would need a line like:
<%@ taglib uri="/sys/WEB-INF/tlds/dbtaglib.tld" prefix="sys" %> to find the
  Hope this helps!
  -Jeff Ward
 -----Original Message-----
From: 	Peter Leonardi [] 
Sent:	Tuesday, March 13, 2001 12:04 AM
Subject:	Error 500 Messages

Taglibs Users

I'm finding difficulty in solving an error, I'm receiving the following

X:\jakarta-tomcat\webapps\engsys\sys\jsp\login\login.jsp(1,0) Unable to open
taglibrary /WEB-INF/tlds/dbtaglib.tld :

The following files have the correct paths specified within my directory
Section of code from the related files:

file path: engsys/sys/WEB-INF/tlds/dbtaglib.tld

	System Engineerings Database Tag Library

file path: engsys/sys/jsp/login/login.jsp
Util class path: /engsys/src/proj/process.tracking/util/

<%@ page import="src.proj.process.tracking.util.*" %>
<%@ taglib uri="/WEB-INF/tlds/dbtaglib.tld" prefix="sys" %>

file path: engsys/sys/WEB-INF/web.xml


I have been trying to resolve this for over a day with no luck, I know it is
probably a simple error but I'm having no luck with any documentation.

Any assistance/insight would be greatly appreciated.

View raw message