0 Replies Latest reply on Jun 2, 2003 10:32 AM by ymedaghri

    Problem deploying a servlet in the template

    ymedaghri Newbie


      I'm using the template Boss.3.0TemplateAndExamples

      I've written a HelloWorld Servlet, and added these lines in the web-client.xml file :

      <display-name>Simple Hello Servlet</display-name>


      When I build with ant everything is fine.
      I can access my servlet from the browser too.

      But the problem is that i have many error in the console ( Even if everythings work, I think that there must be a problem somewhere)

      16:00:58,914 ERROR [Digester] Parse Error at line 38 column -1: Element "web-app
      " does not allow "servlet-mapping" here.
      org.xml.sax.SAXParseException: Element "web-app" does not allow "servlet-mapping
      " here.
      at org.apache.crimson.parser.Parser2.error(Parser2.java:3086)

      Please, can someone help me ?