<filter-class>com.test.FilterTest</filter-name> Your end tag dosen't fit your start tag.
change it to : <filter-class>com.test.FilterTest</filter-class> regards, Cédric ----- Original Message ----- From: "Felipe Schnack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 3:21 PM Subject: filter > I'm using Tomcat 4.0.4 > I'm trying to declare a filter in web.xml file, but it refuses to > work. Here is what I wrote: > <filter> > <filter-name>testFilter</filter-name> > <filter-class>com.test.FilterTest</filter-name> > </filter> > When I start Tomcat it says my XML is invalid. What I'm doing wrong? > > -- > > Felipe Schnack > Analista de Sistemas > [EMAIL PROTECTED] > Cel.: (51)91287530 > Linux Counter #281893 > > Faculdade Ritter dos Reis > www.ritterdosreis.br > [EMAIL PROTECTED] > Fone/Fax.: (51)32303328 > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>