Re: dear friend i'm in a big trouble

2004-11-10 Thread Phillip Mangwiro
Raasi Potluri wrote: I'm just a beginner and I have installed Tomcat5.0 and try to run a simple servlet. I have copied the compiled servlet on the webapps/root/WEB-INF/classes and added the servlet name and servlet mapping in the web.xml file. I'm trying to call my HelloClientServlet from

RE: dear friend i'm in a big trouble

2004-11-05 Thread Steve Kirk
: dear friend i'm in a big trouble http://localhost:3030/servlet/HelloClientServlet Looks like you are depending on the invoker servlet to instanciate your servlet. The invoker servlet is no longer active by default. You will need to map your servlet in web.xml. Again, your servlets need

dear friend i'm in a big trouble

2004-11-04 Thread Raasi Potluri
I'm just a beginner and I have installed Tomcat5.0 and try to run a simple servlet. I have copied the compiled servlet on the webapps/root/WEB-INF/classes and added the servlet name and servlet mapping in the web.xml file. I'm trying to call my HelloClientServlet from

Re: dear friend i'm in a big trouble

2004-11-04 Thread Ben Souther
First, is your servlet in a package? Non-packaged servlets will not work. Did you map your servlet in web.xml? What is the URL you are using to call the servlet? You don't need to set a classpath environment variable Tomcat sets it's own. Did you install a full j2sdk or just a jre? Tomcat 5.0

Re: dear friend i'm in a big trouble

2004-11-04 Thread Ben Souther
http://localhost:3030/servlet/HelloClientServlet Looks like you are depending on the invoker servlet to instanciate your servlet. The invoker servlet is no longer active by default. You will need to map your servlet in web.xml. Again, your servlets need to be packaged. On Thu, 2004-11-04

(Ben Souther) Thank u so much Re: dear friend i'm in a big trouble

2004-11-04 Thread Raasi Potluri
Hello Ben many thanks for your reply, well, My servlet is a non-packaged one, I will change it. I'm worried, if it is a packeged one how to call it from the url? and how to configure the the web.xml? Yes I have mapped my servlet in the web.xml file. this is the bit I have added in the web.xml

Re: (Ben Souther) Thank u so much Re: dear friend i'm in a big trouble

2004-11-04 Thread Ben Souther
Hello Ben many thanks for your reply, well, My servlet is a non-packaged one, I will change it. I'm worried, if it is a packeged one how to call it from the url? and how to configure the the web.xml? In the servlet class node, fully qualify your servlet class Example:

(Ben Souther) Thank u so much Re: dear friend i'm in a big trouble

2004-11-04 Thread Raasi Potluri
Hello Ben I have not packaged the servlet but just changed the servlet mapping node, to servlet servlet-nameHelloClientServlet/servlet-name servlet-classHelloClientServlet/servlet-class /servlet servlet-mapping servlet-nameHelloClientServlet/servlet-name

(Ben Souther) Thank u so much Re: dear friend i'm in a big trouble

2004-11-04 Thread Raasi Potluri
Hello Ben I have not packaged the servlet but just changed the servlet mapping node, to servlet servlet-nameHelloClientServlet/servlet-name servlet-classHelloClientServlet/servlet-class /servlet servlet-mapping servlet-nameHelloClientServlet/servlet-name

Re: (Ben Souther) Thank u so much Re: dear friend i'm in a big trouble

2004-11-04 Thread Ben Souther
On Thu, 2004-11-04 at 22:53, Raasi Potluri wrote: Hello Ben I have not packaged the servlet but just changed the servlet mapping node, to servlet servlet-nameHelloClientServlet/servlet-name servlet-classHelloClientServlet/servlet-class /servlet servlet-mapping

(Ben Souther) new Trouble Re: dear friend i'm in a big trouble(thanks 4 ur help)

2004-11-04 Thread Raasi Potluri
Hello Ben, I know why all my working servlets have stopped working all of a sudden, something is wrong, could be I have mis placed some of the files in Tomcat installation directory, because when I type http://localhost:3030 it is use to give me a congratulations page, now it says following