Hi all,

I am using tomcat 5.5 and I am trying to implement a filter.
Now, I have  setted the xmlValidation to "true". This causing some
strange sax errors:

---------------------------------------------
2006-03-08 16:47:27,324 [main] ERROR
org.apache.commons.digester.Digester - Parse Error at line 45 column 11:
The content of element type "web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
org.xml.sax.SAXParseException: The content of element type "web-app"
must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
...
----------------------------------------------

My entry in the web.xml is looking like this:

<filter>
  <filter-name>SecurityFilter</filter-name>
  <filter-class>de.aar.SecurityFilter</filter-class>
</filter>

<filter-mapping>
  <filter-name>SecurityFilter</filter-name>
  <url-patter>/SSO</url-pattern>
</filter-mapping>

-----------------------------------------------

Has anybody an idea?

Any help will be appreciate

- Franck



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

Reply via email to