1 Reply Latest reply on Oct 9, 2002 9:50 AM by Han, Yi

    getting 404 on request forwarding but typing url works

    Navjeet Newbie

      I have a servlet which forwards a request using RequestDispatcher's forward method (uses a relative url of /mypc/pclogin.jsp) and I get 404 with tomcat message saying:

      type Status report

      message /mypc/pclogin.jsp

      description The requested resource (/mypc/pclogin.jsp) is not available.

      The servlet url is:

      http://kickball:8080/mypc/servlet/PCAuth

      I am using jboss 2.4.6 and tomcat 4.0.3.

      But if I type http://kickball:8080/mypc/pclogin.jsp, it works. Why is the forwarding thru servlet not working ?

      --Navjeet