tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Corliss <jeffcorl...@yahoo.com>
Subject Re: Tomcat 3.2.4 xml parsing of web.xml
Date Fri, 18 Jan 2002 20:36:43 GMT
Ever since I switched from 3.2.3 to 3.2.4, I notice a
lot of the following types of messages in the log
output onscreen:
=========================================
Warning: validation was turned on but an
org.xml.sax.ErrorHandler was not
set, which is probably not what is desired.  Parser
will use a default
ErrorHandler to print the first 10 errors.  Please
call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=22: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=24: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=26: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=31: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=33: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=35: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=40: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=42: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=44: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=49: Element "servlet-mapping"
does not allow "url-pattern"
here.
=========================================
Does this mean my web.xml is out of whack, or is maybe
something else wrong?  Everything seems to work ok as
per what I have in the web.xml.

Thanks,
Jeff


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message