1 Reply Latest reply on Jan 7, 2005 8:20 PM by Wiley Snyder

    another servlet Error 404 question

    Wiley Snyder Newbie

      Hello, I'm sure this question has been asked alot but here goes ... I can't seem to find the answer.

      When I go here http://www.mysite.xyz:8080/shoppingCart/Cart

      Everything is great.

      When I go here http://www.mysite.xyz/shoppingCart/Cart

      404 Error not found

      The thing is http://www.mysite.xyz/shoppingCart/
      comes up great it is just not seeing my servlet defined in my web.xml ...

      This is my jboss-web.xml for shoppingCart ...

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- I've also tried /com-html-jsp/shoppingCart</context> -->

      I have shoppingCart.war in the deploy directory everythings setup and shoppingCart application comes up fine like I said ...

      This is my WEB-INF/web.xml inside shoppingCart ...
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <!DOCTYPE web-app
       PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

      I can't seem to find out what I'm doing wrong here. Please help ...

      thanks in advance.