jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Servlets are not accessible but jsps are accessible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Servlets are not accessible but jsps are accessible

Narasimha Rao B.
Ranch Hand

Joined: Aug 26, 2002
Posts: 205

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,
In the URL i am giving the path as,
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 --
I am trying to access this servlet through -
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,

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

You already asked this question here. Please do not cross-post the same question in multiple forums.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlets are not accessible but jsps are accessible
It's not a secret anymore!