Hi all,

I work with JBoss + embeded Tomcat 4.1.12.

I have put the following lines in my web.xml
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
        <filter>
                <filter-name>trimFilter</filter-name>
                <filter-class>com.cj.trim.trimFilter</filter-class>
        </filter>
        <filter-mapping>
                <filter-name>trimFilter</filter-name>
                <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <!-- Action Servlet Configuration -->
        <servlet>
                <servlet-name>customAction</servlet-name>
        
<servlet-class>com.eim.application.intranet.control.struts.CustomActionServl
et</servlet-class>
                <init-param>
        ......
</web-app>


but when launching tomcat I have the following error:
ERROR [Digester] Parse Error at line 4 column -1: L'élément "web-app"
n'accepte pas "filter" ici.
org.xml.sax.SAXParseException: L'élément "web-app" n'accepte pas "filter"
ici.
....

==> the "web-app" element does not accept "filter" here


What is the problem?

Thanks for the answers :)

Alban.


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager at postmaster.eim.ch.
**********************************************************************


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

Reply via email to