1. I think you may want to say
$CATALINA_HOME/webapps/YOUR_PROJECT_NAME_HERE/WEB-INF/classes/package/names/actual.class.
The change is that you specify a context name.
2. You will use that context name as follows:
. http://localhost:8080/YOUR_PROJECT_NAME_HERE/servlet/package/names/MyServlet
or
Hello All!
Thank you for responding my previous post. I still cannot figure out the
correct location to put class files. I created
WEB-INF/classes directory under $CATALINA_HOME/webaaps directory. Then I
put my class file into $CATALINA_HOME/webaaps/WEB-INF/classes.
And I pointed localhost:80