tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pham, Ha" <Ha.P...@defence.gov.au>
Subject sec: unclass- Re: Problem with custom tag.
Date Wed, 28 Nov 2001 06:57:08 GMT
Hello,

I'm having problem with the exercise "My First Tag" found in
http://developer.java.sun.com/developer/technicalArticles/xml/WebAppDev3/
<http://developer.java.sun.com/developer/technicalArticles/xml/WebAppDev3/> 

The files Hello.jsp and mytaglib.ltd are under
..\tomcat-3.2.2\webapps\examples\WEB-inf\jsp\; while the file HelloTag.java
is under ..\tomcat-3.2.2\webapps\examples\WEB-inf\classes\tags\

If I have the taglib uri="/WEB-INF/mytaglib.tld" , the error message while
compiling the Hello.jsp will be

"web-inf/jsp/Hello.jsp [1:0] Unable to open taglibrary
/WEB-INF/jsp/mytaglib.tld : Could not locate TLD META-INF/taglib.tld
Errors compiling Hello."


If I have the taglib uri="mytaglib.tld", error message for the line
<first:hello/> will be

"web-inf/jsp/Hello.jsp [12:0] Unabe to load class tags.HelloTag
Errors compiling Hello."  

Your help is appreciated.

Thanks.

Ha Pham.

Ha.pham@defence.gov.au

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message