It's not a secret anymore!
The moose likes Tomcat and the fly likes Servlet org.apache.jsp.index_jsp is not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlet org.apache.jsp.index_jsp is not available" Watch "Servlet org.apache.jsp.index_jsp is not available" New topic

Servlet org.apache.jsp.index_jsp is not available

Varghese Paul

Joined: Aug 02, 2004
Posts: 14
Hi... I just recently installed Tomcat 5.5.17 on my Windows 2K machine. Let me just say that it's like a baptism by fire. I could solve a few problems. However, I'm really stuck on this one.

When connecting to http://localhost:8080/ I'm getting a page with http status 404 and the message "Servlet org.apache.jsp.index_jsp is not available"

After consulting numerous sites and friends and collegues, the problem still persists (real tough nut).

I checked the locations. I have the application at %CATALINA_HOME%\webapps\ROOT\WEB-INF\lib.

In the WEB-INF folder there is a web.xml and it seem to be ok.

Also in the ROOT\ folder there is a index.jsp.

I'm convinced that is a problem in the configuration file. But I'm not able to place my finger on it. After spending one whole day on it, Im really tired. So I thought, maybe someone could suggest some way to get the welcome page. (Two heads are greater than one).

Thanking You in advance.

Hassan Schnieder

Joined: Jun 09, 2006
Posts: 11

Not a total expert here but I did notice one thing about your post that made me twitch.

"I have the application at %CATALINA_HOME%\webapps\ROOT\WEB-INF\lib"

If you have an application it should be sitting in %CATALINA_HOME%\webapps

Varghese Paul

Joined: Aug 02, 2004
Posts: 14

Thank you very much for your reply. I guess if the experts find your problem too insignificant, then it's upto the "not-experts" to help each others.

I tried placing the contents in webapps/ROOT/ folder into the webapps folder but still the same error. BTW, the ROOT/ directory was shipped along with the installable and it contains the Welcome page for Tomcat.

When I go to


I dont get the welcome page. However, there are other examples like servlet-examples/ which I can access when I go to


(Yes, I also tried http://localhost:8080/ROOT/ but to no avail).

Probably, there need to be some mappining for '/' to 'ROOT/' in the configuration, but I dont know where to put and how to put.

Could you help me?
Thanks anyways

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

ROOT is an application that lives under the webapps directory.
Your applications should also be placed under the webapps directory.

ROOT is mapped to "/", making it the default web app.

To see an example, download to your webapps directory and go to http://localhost:8080/SimpleServlet.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Servlet org.apache.jsp.index_jsp is not available
It's not a secret anymore!