tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred R." <>
Subject problem using custom tags
Date Fri, 05 May 2000 15:56:58 GMT

I've developed a sample custom tag library and I'm trying to deploy it
on tomcat. But tomcat doesn't seem to be able to find the tld file. I
get the error :

Unable to open taglibrary : Parse Error in the
tag library descriptor: Element type "WEB-APP" is not declared.

Here is how I set things up:

web.xml for a sample app contains:



the jsp page has this directive:
<%@ taglib uri=""
prefix="st" %>

this is the content of the sampletags-taglib.tld and this file is in
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"

    <info>A Sample Tag library</info>
        <info>A Tag to do  something</info>


Fred R

View raw message