tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Parse error in application web.xml
Date Fri, 17 Jan 2003 18:36:53 GMT

>Instead of depending on the invoker servlet, I have added our servlets


>2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application
>org.xml.sax.SAXParseException: The content of element type "web-app"
>I have validated the web.xml file using IE.  No errors are apparent.

You may have viewed the file using IE, not validated it ;) ;)

IE would not check against the scheme.  The error reported suggests you
have elements in the wrong order.  It tells you what the right order is.
For example, <welcome-file-list> cannot come before <servlet>.

Reorganize your web.xml file according to the spec, i.e. in the order
shown above, and the error will go away.

Yoav Shapira
Millennium ChemInformatics

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message