You might try changing the DTD referenced in your web.xml as well ( ie change/check that is 2.3 not 2.2)?? Otherwise move to 4.0.4b2. I've been using that for a while now, and I haven't had any weird tag library issues. It also fixes a bug in 4.0.3 that makes my app hang on certain redirects through a gateway!
-----Original Message----- From: Javier Urbaneja Fan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 10:54 AM To: Tomcat Users List Subject: TLD crashing in Tomcat I�m using Tomcat 4.0.3 I have written a tag library descriptor that fit the current Sun's DTD (web-jsptaglibrary_1_2.dtd), with the names of the elements according with the XML recomendation (i.e., tlib-version), it originates the next Parse Error when starting Tomcat: org.xml.sax.SAXParseException: Element type tlib-version must be declared However, if I write the TLD according to the previous version (web-jsptaglibrary_1_1.dtd, tlibversion instead o tlib-version) that doesn't validate against the DTD, it works perfectly. I�ve seen that in the Tomcat's servlet.jar there are both DTDs. Where I can configure which one I want Tomcat to work with?
