i am trying to setup tomcat server on my pc.
i can get access to localhost:8080/Hello.html so the server by all accounts seems to be up and running properly...
i am following the
http://www.moreservlets.com/Using-Tomcat-4.html#Test-Server tutorial and now i'm trying to get a sucessful result to test 1 (about 2/3's of the way down).
I have created the \ROOT\WEB-INF\classes folder and placed a HelloServlet.java file (downloaded from the tutorial website) in teh created folder. i have no problems compiling the file to give me the HelloServlet.class file (which is in the same folder).
however this is where my problems start...
i should then be able to run the servlet by goin to the url
http://localhost:8080/servlet/HelloServlet
but instead of seeing the lovely 'hello' that should be displayed i get a horrible http 404 error (file not found).
To confuse matters slightly more, i can access the servlet-examples (HelloWorldExample in particular) that came with tomcat, \servlet-examples\WEB-INF\
classes holds the .java and .class files and this servlet works properly... i hav even tried to copy those two files to the \ROOT\WEB-INF\classes\ folder and see if i can access them thru
http://localhost:8080/servlet/HelloWorldExample but to no avail, again i get my lovely 404 error...
i hope someone can help, and all help no matter how little or large will be appreciated!!!
Thanks,
Lharts.