A little bit of information on tld's.
In your web.xml file you need to have a taglib tag of the following
structure :
<taglib>
<taglib-uri>uri which is going to appear in the jsp page as well
</taglib-uri>
<taglib-location>/WEB-INF/tlds/yourtaglib.tld</taglib-location>
</taglib>
As mentioned above in your jsp have the same uri value that you have
mentioned in your web.xml file.
Hope this will help you to move further towards finding the solution to your
problem.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: anurag dewan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 4:16 PM
Subject: problem in uri of tld
> hi,
> I am trying to run the jsp page and it gives an error
> -can't load class.
> In the uri of my tld I am giving...
> C:\javawebserver2.0\classes\anurag\HelloWorldTag.class
> and the tagclass I am giving...
> anurag.HelloWorldTag
> I am using javawebserver2.0 and jdk1.2.2.
> The jsp page and the tld r stored in the same
> directory in public_html.
> And I am using..
> <%@ taglib uri="htag.tld" prefix="x" %>
> And advices on how should I proceed.
>
> tld file----
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE taglib PUBLIC"-//Sun MicroSystem,Inc.//DTD
> JSP TagLibary1.1//EN
>
> http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
> <taglib>
> <tlibversion>1.0</tlibversion>
> <jspversion>1.1</jspversion>> >
> <uri>C:\javawebserver2.0\classes\anurag\HelloWorldTag.class<uri>
> <info>My First Tag Library</info>
> <tag>
> <name>helloworld</name>
> <tagclass>anurag.HelloWorldTag</tagclass>
> <bodycontent> empty </bodycontent>
> <info>Hello World Tag </info> </tag> </taglib>
> -anurag
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
>
===========================================================================
> 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
>
===========================================================================
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