1 Reply Latest reply on Aug 12, 2002 5:59 PM by tbfmicke

    ERROR : "web-app" does not allow "servlet" here !!!

    pkondaka

      Hey guys

      I am getting following error, when i am trying to invoke my servlet, which deployed in WEB-INF/classes dir.

      16:40:21,531 ERROR [Engine] ContextConfig[/cmis] Parse error in application web.xml
      org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet" here.

      can you please help me in this

      Thanks
      KPK

        • 1. Re: ERROR : "web-app" does not allow "servlet" here !!!
          tbfmicke

          The error message says it all :-)

          The servlet tag inside your web.xml is somehow in the wrong place. (The ordering of the tags matter.)
          Check your web.xml against the DTD and put your tags in the same order as in the DTD and things should be fine.

          Or take a web.xml from an example and change it to use your servlet.