File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes resource not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "resource not available" Watch "resource not available" New topic

resource not available

Muhammad Qureshi

Joined: Mar 05, 2002
Posts: 9
Hello Gr8 Ranchers,
I am having problem in setting my project in tomcat, my directory structure is like this:
| <webapps>
| <ribsproj>
| <classes>
| <ribs>
| <engine>
| <LoginEngine.class>
I added following lines in server.xml file:
<Context path="/ribsproj" docBase="ribsproj" debug="0" privileged="true"/>
My web.xml :
<display-name>Hello, World Application
the URL: http://mqs:8080/ribsproj/go works and my HelloWorldExample invokes successfully.
But the URL http://mqs:8080/ribsproj/ribs/engine/LoginEngine shows error:
The requested resource (/ribs/engine/LoginEngine) is not available, remember my LoginEngine class is in ribs.engineproject i.e (ribs.engine.LoginEngine).
Thanks in advance.
I agree. Here's the link:
subject: resource not available
It's not a secret anymore!