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
Zac Roberts<br />SCJP2
Shashank Tanksali
Ranch Hand
Joined: Feb 21, 2001
Posts: 122
posted
0
Try replacing <tag-class>us.wi.state.dhfs.www.updateHeaderTag</tag-class> with <tagclass>us.wi.state.dhfs.www.updateHeaderTag</tagclass> Shashank
<b><br /><a href="http://mailto:tanksali@hotmail.com" target="_blank" rel="nofollow">Shashank Tanksali</a><br /><i><br />SCJP2,SCJD2,SCWCD<br />IBM Certified Developer - XML and Related Technologies<br />PMI Certified Project Management Professional<br /></i><br /></b>