try adding a leading / to your filter-mapping:
<url-pattern>/ca/servlet/*</url-pattern>
Charlie
> -----Original Message-----
> From: jjnfg [mailto:jjnfg@;yahoo.com]
> Sent: Wednesday, November 06, 2002 8:42 PM
> To: [EMAIL PROTECTED]
> Subject: WEB.XML and TOMCAT v.4.0.6 reading error
>
>
> I am new to Web Deployment Descriptor so bear with me.
> My Tomcat is having problem reading my first WEB.XML file
> and I have no idea what is the problem.
>
> The message while it was coming up reads :
>
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.6
> ERROR reading java.io.ByteArrayInputStream@6199d2e6
> At Line 27 /web-app/filter-mapping/
>
>
>
> The content of my WEB.XML is as follow :
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
>
>
>
>
> <display-name>ca</display-name>
> <description>
> Cheque Archiving
> </description>
>
> <filter>
> <filter-name>Servlet Mapped Filter</filter-name>
> <filter-class>filters.caFilter</filter-class>
> </filter>
>
>
> <!-- Define filter mappings for the defined filters -->
> <filter-mapping>
> <filter-name>Servlet Mapped Filter</filter-name>
> <url-pattern>ca/servlet/*</url-pattern>
> </filter-mapping>
>
> <servlet>
> <servlet-name>ChequeListVSAM</servlet-name>
> <description>
> ChequeListVSAM testing
> </description>
> <servlet-class>ChequeListVSAM</servlet-class>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>ChequeListVSAM</servlet-name>
> <url-pattern>ca/servlet/ChequeListVSAM</url-pattern>
> </servlet-mapping>
> </web-app>
>
>
>
> Anyone know what is wrong with my WEB.XML ?
>
> Joseph Tan
>
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>