tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ely Eshel <>
Subject Possible custom tag incompatibility between 4.1.27 and 4.0.3
Date Mon, 01 Dec 2003 01:05:45 GMT
I developed a custom tag on Tomcat 4.1.27 and tried to deploy it on 4.0.3.
I get the following error:
org.apache.jasper.JasperException: XML parsing error on file
/WEB-INF/tlds/testtaglib.tld: Internal Error: File
/javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd not found

My web.xml entry is:

My testtaglib.tld file is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib
	PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"

My taglib directive in the JSP is:
<%@ taglib prefix="testtag" uri="/WEB-INF/tlds/testtaglib.tld"%>

I am not sure that the problem is with Tomcat versions, but I cannot figure
out what else is wrong. I have no control over the 4.0.3 environment, so I
cannot experiment with it at all.
-- Ely

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message