Forums Register Login

TLD/Taglib/Tomcat Problem

+Pie Number of slices to send: Send
I am trying to create a simply tag library and I am having problems... the tomcat error I am getting is as follows:
apache.jasper.JasperException: XML parsing error on file /WEB-INF/updates.tld: (line 12, col 14): Element type "tag-class" must be declared.
Here is my TLD file:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tag>
<name>updateHeader</name>
<tag-class>us.wi.state.dhfs.www.updateHeaderTag</tag-class>
<attribute>
<name>number</name>
</attribute>
</tag>
</taglib>
What could be the problem?
Thanks for any help...
Zac
+Pie Number of slices to send: Send
Try replacing
<tag-class>us.wi.state.dhfs.www.updateHeaderTag</tag-class>
with
<tagclass>us.wi.state.dhfs.www.updateHeaderTag</tagclass>
Shashank
See where your hand is? Not there. It's next to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 616 times.
Similar Threads
problem while build
jsp tag libraries problem
custom tags & tag handlers REVISITED
using custom tags & tag handler class - URGENT
jakarta-tomcat-4.0.1 taglib problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:32:10.