Hi, In my application I need to use 2/3 Fileters. I have written it and deployed on Tomcat/4.0.6, as well. Also made neccesarry entries in deployment descriptor. But displys following error in tomcat log.
Starting service Tomcat-Standalone Apache Tomcat/4.0.6 PARSE error at line 12 column 13 org.xml.sax.SAXParseException: Element type "filter" must be declared. ERROR reading java.io.ByteArrayInputStream@e0cc23 At Line 108 /web-app/servlet-mapping/ Starting service Tomcat-Apache Apache Tomcat/4.0.6
Expecting help to solve the problem. Thanks & Regards, Gajanan
You must make some mistake in your Application Deployment Descriptor:
The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 4 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
double check it.
Curse your sudden but inevitable betrayal! And this tiny ad too!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop