Hi Bill,
I don't specify this because I think it isn't  significant.
and now:


  <filter>
    <filter-name>CharSetEncoder</filter-name>
    <filter-class>com.zamek.turbine.tomcat.EncodingFilter</filter-class>
    <init-param>
        <param-name>encoding</param-name>
        <param-value>iso-8859-2</param-value>
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>CharSetEncoder</filter-name>
    <url-pattern>/vili</url-pattern>
  </filter-mapping>


861 </web-app>

This position is after the </web-app> tag. 
My environment:
Debian Unstable /JSDK 1.3 / tomcat 4.0.4 (orginal with tdk2.2.) 

> Zoltan
>
> You didnt mention and I dont want to assume....is the content at line
> 861 actually the filter definition block?  I'm just thinking maybe an
> accidental change was made outside the definition of the filter, I know
> I do stuff like that alot.
>
> Just a thought, I didnt see a problem with the definition...
>
> -b
>
> On Fri, 2003-04-04 at 09:33, Zidarics Zoltan wrote:
> > Hi all,
> > in
> > http://archives.apache.org/eyebrowse/[EMAIL PROTECTED]
> >a.apache.org&msgNo=9840 Maciej Leks <[EMAIL PROTECTED]> wrote a
> > solve to filtering incoming request. I would like to try this, but it
> > doesn't works.
> >
> > in tomcat's web.xml:
> >
> >   <filter>
> >     <filter-name>CharSetEncoder</filter-name>
> >     <filter-class>com.zamek.turbine.tomcat.EncodingFilter</filter-class>
> >     <init-param>
> >         <param-name>encoding</param-name>
> >         <param-value>iso-8859-2</param-value>
> >     </init-param>
> >   </filter>
> >
> >   <filter-mapping>
> >     <filter-name>CharSetEncoder</filter-name>
> >     <url-pattern>/vili</url-pattern>
> >   </filter-mapping>
> >
> >
> > When tomcat starts it throw an error:
> >
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.0.4
> > PARSE error at line 861 column 11
> > org.xml.sax.SAXParseException: The content of element type "web-app" must
> > match "(icon?,display-name?,
> > description?,distributable?,context-param*,filter*,filter-mapping*,listen
> >er*,servlet*,servlet-mapping*
> > ,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,res
> >ource-env-ref*,resource-ref*,
> > security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb
> >-local-ref*)". PARSE error at line 861 column 11
> >
> > I don't understand this, because filter and filter-mapping are matches to
> > filter*,filter-mapping* .
> >
> > What do I do wrong?
--
 thx,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to