GeeCON Prague 2014*
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


JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT JSP not runing" Watch "TOMCAT JSP not runing" New topic
Author

TOMCAT JSP not runing

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
hi,
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
http://localhost/ch04/jsp/scriptingTest.jsp
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)
 
GeeCON Prague 2014
 
subject: TOMCAT JSP not runing