A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
TOMCAT JSP not runing
Joined: Jun 10, 2001
Jul 26, 2003 05:56:00
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
it ran fine. what could be wrong.
Joined: Jun 06, 2002
Jul 26, 2003 06:15:00
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)
I agree. Here's the link:
subject: TOMCAT JSP not runing
404 File not found
Can't Get Tomcat 4.1.18 running
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015