| Author |
Problem about Filter.
|
Codec Guy
Greenhorn
Joined: Aug 02, 2004
Posts: 2
|
|
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
|
 |
leon fan
Greenhorn
Joined: Aug 02, 2004
Posts: 19
|
|
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.
|
 |
 |
|
|
subject: Problem about Filter.
|
|
|