Servlet and Web.xml confusion

2002-01-08 Thread David Bazell
Hi, I have tomcat 4.0.1 running on a Redhat 7.1 system. I can get the examples servlets working, the ones that come with tomcat. I installed some simple servlets in webapps/ROOT and they work. I put one in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/hello/HelloServlet2.class and invoked it

Re: Servlet and Web.xml confusion

2002-01-08 Thread John Chan
Hi... Hi, I have tomcat 4.0.1 running on a Redhat 7.1 system. I can get the examples servlets working, the ones that come with tomcat. I installed some simple servlets in webapps/ROOT and they work. I put one in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/hello/HelloServlet2.class

Re: Servlet and Web.xml confusion

2002-01-08 Thread John Chan
Hi... I believe that you need to modify the server.xml to add the context. As it currently stands, Tomcat has no way of knowing that the directory hello actually exists. The statement to add (at the minimum) would be something like: Context path= docBase=hello debug=0/.

RE: Servlet and Web.xml confusion

2002-01-08 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 1:19 PM To: Tomcat Users List; David Bazell Subject: Re: Servlet and Web.xml confusion Hi... Hi, I have tomcat 4.0.1 running on a Redhat 7.1 system. I can get the examples servlets working, the ones that come with tomcat. I