Hi Guys.....Ive been following along with this
thread because I too havent been able to get any of my servlets to run since you helped me get Tomcat going & I figured why waste a thread if this one will answer my questions. But alas this is not to be. The example servlets work just dandy but even my "Hello world" servlet blows to bits. I have my class files in webapps\examples\web-inf\classes just like you metioned above. I am past the 404 file not found errors though I dont know if it is progress or not. Now I am getting an exception that I think has to do with the way I have Tomcat set up. Here is the exception & remember this is just a hello world servlet, nothing fancy:
java.lang.IllegalAccessException: TryingOutThisThing
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Any brilliant suggestions for this little wonder........BTW I am in fact running the dreaded win98!!