Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TOMCAT JSP not runing

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic