Hi Arun Boraiah
It does not help me!
I follow your or M.Hall instructions
"If you get compilation errors, go back and check your CLASSPATH settings (see the earlier section on this topic)--you most likely erred in listing the location of the JAR file that contains the servlet classes (i.e.,install_dir/common/lib/servlet.jar). Once you compile HelloServlet.java, put HelloServlet.class in install_dir/webapps/ROOT/WEB-INF/classes. After compiling the code, access the servlet with the URL http://localhost/servlet/HelloServlet
if you chose not to change the port number as described earlier). You should get a simple HTML page that says "Hello". If this URL fails but the test of the server itself succeeded, you probably put the class file in the wrong directory. "
My HelloServlet.java is in C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\WEB-INF\classes. I compile HelloServlet.java from TextPad.
Always have reply like:
"Apache Tomket/4.0.2 - HTTP Status 404
type Status report
description The requested resource (/root/servlet/helloServlet ) is not available."
If call it http://localhost:8080/root/servlet/helloservlet
have: An error has occurred processing the request...
( Java is my hobby )