• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

TOMCAT JSP not runing

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic