Hello ,
I have just started learning
servlet and
jsp . I am using
tomcat version 5.5.31 , jdk 1.6 and vista . I configured tomcat according to the tutorial on
http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-5.5.html.
After compiling a very basic servlet example I placed the class file in install_dir/webapps/ROOT/WEB-INF/classes as prescribed in the tutorial.
But the servlet did not run.
After that i placed it in install_dir/shared/classes and it ran .
But surprisingly when I ran other servlet examples they did not run from install_dir/shared/classes but from install_dir/webapps/ROOT/WEB-INF/classes. And i am totally confused . I had followed every step carefully . Please explain this result. Why did i have to change directory after the first servlet execution ?
Thanks and Regards
Akash Singh