tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Br" <>
Subject Problem with custom tag: can't load class file
Date Mon, 04 Mar 2002 06:20:27 GMT
With TC4.0.2 standalone I am unable to load a 
simple (bodyless) custom tag. It fails to
load the class file.

This is the basic Hello World tag 
of Jakarta. The attempt to load the
jsp file containing the tag <jlib:Hello/>
throws the exception:

org.apache.jasper.compiler.CompileException: /U.jsp(14,2) Unable to load class basic.Hello
	at org.apache.jasper.compiler.TagBeginGenerator.init(

The class file (it extends TagSupport class)
is located in WEB-INF/class/basic/Hello.class.

Why does it fail to load the class? I thouhg all classes
under WEB-INF/class are automtically loaded by
the container.

The tld file is:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"


        Print Hello World


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message