Servlets are not accessible but jsps are accessible.
Narasimha Rao B.
Joined: Aug 26, 2002
Please help me out resolving the below issues - Just now i have installed tomcat 5.0, through the url i couldn't access any of my own servlets and also examples that were installed through tomcat installation but through the url i could access the jsps. Here is the tree structure of my servlet class file, Installation_directory/webapps/ch1/WEB-INF/classes/Ch1Servlet.class In the URL i am giving the path as, http://localhost:8080/ch1/Ch1Servlet I am getting the error as "The requested resource (/ch1/Ch1Servlet) is not available." Even this problem persist with the tomcat examples, One of the servlet class is located at -- instal_directoty\webapps\servlets-examples\WEB-INF\classes\HelloWorldExample I am trying to access this servlet through - http://localhost:8080/servlets-examples/HelloWorldExample but i am getting the error - "The requested resource (/servlets-examples/HelloWorldExample) is not available." But i could access successfully jsps, please help me out in resolving the issue. Thanks in Advance,
Ko Ko Naing
Joined: Jun 08, 2002
Narasimha, you posted the right question in the wrong place... There are Servlet forum and JSP forum out there to post about them...
This forum is about Sun Certified J2EE Web Sevices Certification Exam... There in those forums, you will find more experts on Servlets and JSPs...