You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Pham, Ha" <Ha...@defence.gov.au> on 2001/11/28 07:57:08 UTC
sec: unclass- Re: Problem with custom tag.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>