Thanks for the links Dave. Using the links i have been able to run html and jsp files using Tomcat4.0.1 Regarding Servlets i created the classes folder in the install_dir/webapps/ROOT/WEB-INF/ and placed my class file in the classes folder. Now when i try to call the servlet using the browser by http://localhost/servlet/HelloServlet it gives me a 404 error. Do i need set some other classpaths to run the servlets or do i need to place my class files in some other folder thanks gizp stone

gizp stone
Greenhorn

Joined: Jan 18, 2002
Posts: 6

posted Mar 01, 2002 10:25:00

0

HI GUYS I HAVE SUCCESSFULLY RUN SERVLET ON TOMCAT THANKS TO ALL OF U I SET THE CATALINA_HOME VARIABLE AND THE SERVLETS WORKED THANKS A TONNNE GIZP STONE

Hi Gizp, How did you run the Html and JSP files? I am having problem with these, I can view the welcome page but can't view the Hello.html and Hello.jsp files. I added them in my install-dir/webapps/ROOT/Myfiles/ What I did wrong? can you help please. BTW what do you mean by "setting CATALINA_HOME" values, please explain... Thanks

Hi, I have a very similar problem .. Am goin with the tutorial I have I created classes dir in root\web-inf and i placed my .java n .class in it , server can see my jsp n html files but not this HelloServlet . I also made an entry in web.xml for servlet mapping but still i am getting 404 file not found error.. can nebody think what could possibly be givin me this error .. thanks for ur time

Hi, Try enabling the configuration for the default servlet and invoker servlet in the web.xml file, which is present in the conf directory. That should help load the servlets by default from the WEB-INF/classes directory. HTH. Regards, Anuradha