tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Guyot" <emmgu...@wanadoo.fr>
Subject Re: Tomcat 3.3.1 : web.xml validation
Date Sat, 06 Apr 2002 18:06:40 GMT
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: rsequeira@transentric.com 
  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" <emmguyot@wanadoo.fr> on 04/06/2002 06:29:03 AM

  Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>

  To:   "Liste tomcat-user" <tomcat-user@jakarta.apache.org>
  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 : emmguyot@wanadoo.fr
  ICQ : 6945538
  Home Page : http://emmguyot.dynip.com


  --
  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>









  --
  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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message