That's right. The order is important : I had to put the servlet tags then the servlet-mapping tags and now it works fine.
Thanks. E.G. ----- Original Message ----- From: [EMAIL PROTECTED] To: Tomcat Users List Sent: Saturday, April 06, 2002 7:01 PM Subject: Re: Tomcat 3.3.1 : web.xml validation You probably have the tags in the web.xml (context salon) in an incorrect order. Post the web.xml file here. Some might point out the correct order. RS "Emmanuel Guyot" <[EMAIL PROTECTED]> on 04/06/2002 06:29:03 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "Liste tomcat-user" <[EMAIL PROTECTED]> cc: Subject: Tomcat 3.3.1 : web.xml validation I have the following message when Tomcat starts : 2002-04-06 14:24:19 - Ctx(/salon) : Validating web.xml 2002-04-06 14:24:19 - Ctx(/salon) : web.xml: Error org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet" here. 2002-04-06 14:24:19 - Ctx(/salon) : Line 19 /web-app/ 2002-04-06 14:24:19 - Ctx(/salon) : web.xml: Error org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet-mapping" here. 2002-04-06 14:24:19 - Ctx(/salon) : Line 24 /web-app/ 2002-04-06 14:24:19 - Ctx(/salon) : web.xml: Error org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet" here. 2002-04-06 14:24:19 - Ctx(/salon) : Line 28 /web-app/ 2002-04-06 14:24:19 - Ctx(/salon) : web.xml: Error org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet-mapping" here. 2002-04-06 14:24:19 - Ctx(/salon) : Line 33 /web-app/ ... I have such a message for each servlet & servlet mapping. Though the site works fine. Any idea about what's wrong with my web.xml ? Emmanuel Guyot 8 Rue des Mont�es 45100 Orl�ans France Phone : [33] (0)2 38 56 42 72 GSM : [33] (0)6 84 61 82 73 Email : [EMAIL PROTECTED] ICQ : 6945538 Home Page : http://emmguyot.dynip.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
