To gokul bir:
I tried unsuccessfully to run a servlet in a package, as you suggested. This is what I did:
1) created a directory, coreservlets, in jakarta-tomcat-5.0.27/webapps/ROOT/WEB-INF/classes
2) put HelloServlet2.class in that directory
3) set CLASSPATH to that directory
4) gave the browser the URL:
http://localhost/servlet/coreservlets/HelloServlet2
(BTW, I have set the port to 80 in servlet.xml)
The browser tells me URL NOT FOUND.
I can run html files, I can compile java servlets, but I am unable to run them.
I'm somehow using the directories wrong.
ms