tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject Re: filter
Date Wed, 14 Aug 2002 13:45:53 GMT
  Yes, the order of mostly everything was wrong, thank you very much :-)
  Anyway, the tag thing was an typo.

On Wed, 2002-08-14 at 10:24, Mark O'Driscoll wrote:
> <filter-class>com.test.FilterTest</filter-name>
>                                                             ^^^^^^^^^^^ //
> should be </filter-class>
> Failing that, i'd have to see the error but my guess is that you have the
> order of things in your web.xml wrong.
> 
> <filter> tags should appear after <context-param> and before <listener>
> tags. See your dtd for more details. I use
> http://java.sun.com/web-app_2_3.dtd
> 
> ----- Original Message -----
> From: "Felipe Schnack" <felipes@ritterdosreis.br>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, August 14, 2002 2: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
> > felipes@ritterdosreis.br
> > Cel.: (51)91287530
> > Linux Counter #281893
> >
> > Faculdade Ritter dos Reis
> > www.ritterdosreis.br
> > felipes@ritterdosreis.br
> > Fone/Fax.: (51)32303328
> >
> >
> > --
> > 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>
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes@ritterdosreis.br
Fone/Fax.: (51)32303328


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message