This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes TOMCAT JSP not runing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT JSP not runing" Watch "TOMCAT JSP not runing" New topic

TOMCAT JSP not runing

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
I have tomcat 4.1.24 ruining on windows 98 se .Tomcat is working properly.

All JSP,Servlets examples are working.
I have made a directory named CH04 inside the webapps directory
C:\Program Files\Apache Group\Tomcat 4.1\webapps\ch04\jsp
and have the JSp files inside.

but when i run the Jsp examples i get the error Jsp file not found.etc
but when i made a directory inside the ROOT directory as below
C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\ch04
and gave the URL as http://localhost/ch04/scriptingTest.jsp
it ran fine. what could be wrong.

Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
Do you have a \Program Files\Apache Group\Tomcat 4.1\webapps\ch04\WEB-INF directory?
It doesn't need to have anything in it, but it has to be there, so Tomcat can recognize ch04 as a web application.

Ron Newman - SCJP 1.2 (100%, 7 August 2002)
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: TOMCAT JSP not runing