i have put my multilink.tld and links.xml file in the web-inf folder of
tomcat 4.0.1 In the last line of my web.xml i have put the following code:
<taglib>
<taglib-uri>/WEB-INF/multilink.tld</taglib-uri>
<taglib-location>
/WEB-INF/multilink.tld
</taglib-location>
</taglib>
on starting the server,
it shows the following error:
element type tag must be declared
the codes are as follows:-
multilink.tld
<?xml version="1.0" encoding="UTF-8"?>
<tag>
<name>multi</name>
<tagclass>util.tags.MultiLinkTag</tagclass>
<bodycontent>tagdependent</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
</attribute>
<attribute>
<name>href</name>
<required>true</required>
</attribute>
<attribute>
<name>text</name>
<required>true</required>
</attribute>
<attribute>
<name>metalinks</name>
<required>true</required>
</attribute>
<attribute>
<name>onmouseover</name>
<required>false</required>
</attribute>
</tag>
links.xml
<?xml version="1.0" encoding="UTF-8"?>
<Hrefs>
<Section name="hsct">
<Href url="http://oea.larc.nasa.gov/PAIS/HSR-General.html"
text="Overview of NASA's HSCT program"/>
<Href url="http://www.beyond2000.com/news/Aug_00/story_739.html"
text="HSCT project objectives and motivation"/>
<Href url="http://vesuvius.jsc.nasa.gov/er/seh/pg34s95.html"
text="NASA's High Speed Research Page"/>
<Href url="http://www.amitgoel.com/vizcraft/index.html"
text="HSCT visualization"/>
<Href url="http://www.aerospace.nasa.gov/goals/fsvtp.htm"
text="Affordable supersonic travel"/>
<Href url="http://www.aerospace.nasa.gov/goals/images/g6icon1.jpg"
text="What does it look like?"/>
</Section>
<Section name="xvs">
<Href url="http://oea.larc.nasa.gov/PAIS/HSR-Cockpit.html"
text="The external visibility system concept"/>
<Href url="http://www.aerospace.nasa.gov/library/ar99/obj6.html#6-5"
text="Cockpit with an artificial view"/>
<Href url="http://lisar.larc.nasa.gov/IMAGES/SMALL/EL-1998-00169.jpeg"
text="What does it look like?"/>
</Section>
</Hrefs>