hi!
I tried creating a TAG called Counter.But when I
tried using the Tag I got the following error:
500 Internal Server Error:
Error parsing JSP page /jsp/hello.jsp line 1
Error loading taglib at
file:/C:/orion/applications/JSPTest/JSPTest-web/jsp/mytags.jar:
META-INF/taglib.tld
The Contents of the taglib.tld is:
***********************************
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems,
Inc.//DTD JSP Tag Library 1.1//EN"
"web-jsptaglib_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>mt</shortname>
<uri>http://localhost/JSPTest/jsp/mytags.jar</uri>
<info>My first Tag library</info>
<tag>
<name>helloWorld</name>
<tagclass>com.acme.mytags.HelloWorld</tagclass>
<bodycontent>empty</bodycontent>
<info>A Hello world Tag</info>
</tag>
<tag>
<name>Counter</name>
<tagclass>com.acme.mytags.Counter</tagclass>
<bodycontent>empty</bodycontent>
<info> A counter </info>
</tag>
</taglib>
Please Tell me whats the problem, I guess there is
some problem in the Taglib.tld..Is my .tld correct.
Thanks,
Kumar
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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