Dear friend,
(with whatever little i know) I believe u have made several mistakes !
>
>
<tagclass>weblogic.examples.webapp.cookie.web-inf.HelloWorldTag</tagclass>
> <bodycontent>empty</bodycontent>
> <info>Hello World Tag </info>
>
Take a look at the <tagclass> line the package
heirarchy u have specified is way off the mark.
First of all, assuming that the following
is ur "package" folder
D:\weblogic\examples\webapp\cookie\web-inf
now, simply putting into the folder doesnt make
a class a member of that package. Please put in
an appropriate package statement in ur tag source code
Here is what i would do :
#1
put my javafile (HelloWorldTag.java) in
D:\weblogic\examples\webapp\cookie\web-inf\classes\testtags
#2
In my source code i would specify the package name as the first
line as follows:
package testtags;
The rest of the code would remain untouched. Should
i also need say that the source be compiled ?! ;)
#3
Add the following to my CLASSPATH
D:\weblogic\examples\webapp\cookie\web-inf\classes\
This is mandatory since the above folder is ur package root
#4
Make the following change to my <tagclass>
<tagclass>testtags.HelloWorldTag</tagclass>
This where the java runtime would require the change u made to
classpath in step #3
#5
the taglib.tld not being found is basically because u r using
/Web-inf/taglib.tld and
<taglib-location>/WEB-INF/taglib.tld</taglib-location>
where as u should be using "/cookies/web-inf/taglib.tld" in both
(without the quotes of course !)
Give this a try and report the results (hopefully a Yahoo)<smile>
Cheerio !
Mayuresh Kadu
--------------
Aftek Infosys Ltd., Pune
http://www.aftek.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets