Servlets are not accessible but jsps are accessible.
Narasimha Rao B.
Ranch Hand
Joined: Aug 26, 2002
Posts: 205
posted
0
Hi,
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,
Narasimha
Ko Ko Naing
Ranch Hand
Joined: Jun 08, 2002
Posts: 3178
posted
0
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...
Hope it helps....
Co-author of SCMAD Exam Guide, Author of JMADPlus SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0