看看这个TAGLIB的错误,是不是版本不兼容!!!TOMCAT3.2.1没问题,TOMCAT4报错
lpt 2002-01-23 05:05:51 <tag>
<name>Year</name>
<tagclass>homepage.tags.Year</tagclass>
<info>Show Year</info>
<bodycontent>EMPTY</bodycontent>
<attribute>
<name>startYear</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>yearNum</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>defaultYear</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag> // 这里报错 (line 41, col 8):
org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/tags/taglibs.tld: (line 41, col 8): The content of element type "tag" must match "(name,tagclass,teiclass?,bodycontent?,info?,attribute*)".