andree surya wrote:And then I try to test the servlet. I've set up the classpath
Anirvan Majumdar wrote:Like Bear mentioned, Tomcat doesn't need to depend on any JARs or classes other than those provided by the JDK installation. And this behaviour is independent of the OS you're using.
Your directory structure looks fine, but can you confirm that the directory structure under Tomcat's deployment folder [webapps] is the same? Particularly, can you verify whether the HelloServlet.class file is present at the expected location in the deployment folder.
Anirvan Majumdar wrote:Like Bear mentioned, Tomcat doesn't need to depend on any JARs or classes other than those provided by the JDK installation. And this behaviour is independent of the OS you're using.
Your directory structure looks fine, but can you confirm that the directory structure under Tomcat's deployment folder [webapps] is the same? Particularly, can you verify whether the HelloServlet.class file is present at the expected location in the deployment folder.