Women in Technology

Hear us Roar

  Deploying Web Applications to Tomcat
Subject:   Path problems
Date:   2003-12-23 22:30:24
From:   anonymous2
I have tried to follow all the tips here on how to add mapping in the web.xml and uncomment the server.xml invoker mapping. But the servlet is not being loaded - how do I check what is happening.
BTW - I do not have a servlet directory and the path is under webapps/onjava/..... When I uncommented the mapping for the invoker should I remove the servlet part ?
In addition, I am trying to communicate with the servlet through a client java program - giving the entire class id - com.onjava.login - do I need to use the URL path instead ?
Any help is appreciated - I am going crazy with this. I use Tomcat 4.1+ and 1.4+

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • Path problems
    2004-01-11 04:14:27  rahulbats [View]

    The problem can be removed by adding the following

    this mapps the servlet/ url to the login servlet
    • Path problems
      2004-10-11 03:31:46  deroy@hssworld.com [View]

      The same servlet works in tomcat 4.0 but not in tomcat 4.1 .

      I couldn't understand the problem. The server doesn't recognizing the servlet.

      HTTP Status 404 - /AssessRisk/servlet/VerifyLoginServlet, this is the error message i am getting where my directory is "AssessRisk".

      If i will copy one of my servlet under examples directory then it works.

      Can anybody suggest what the problem is?