I have a hello world servlet, and tomcat 4.0.1.  No matter where I put the friggin' class, tomcat doesn't seem to be able to find it.  I studied the examples that come with Tomcat. 

I am simply using the index.html in %CATALINA_HOME%/webapps/root.  There, I have a reference to "/servlet/HelloWorldServlet".  I placed this servlet in %CATALINA_HOME%/webapps/WEB-INF/classes.  The class is not placed in a package, because I am simply trying to get anything to work.  I still get an error page from Tomcat as follows:
Apache Tomcat/4.0.1 - HTTP Status 404 - /servlet/HelloWorldServlet

type Status report
message /servlet/HelloWorldServlet
description The requested resource (/servlet/HelloWorldServlet) is not available.

Can someone please tell me what I'm doing wrong?

TIA.

-- Jim
********************************************************
* Jim Lindsay
* [EMAIL PROTECTED]
* 510-527-8025
* 510-681-6484 (cell)
* 510-528-8317 (fax)
* 555 Pierce St. #141
* Albany, CA 94706
********************************************************

Reply via email to