This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes tomcat4 newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat4 newbie" Watch "tomcat4 newbie" New topic

tomcat4 newbie

Jardel Tan

Joined: Sep 11, 2001
Posts: 14
can anyone help me out
whenever i create new jsp files in myapp folder and start tomcat4
i coudn't see the listing of new jsp files which i just created in myapp folder
or i did not set the server.xml properly?

<Context path="/myapp" docBase="myapp" debug="0"
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_myapp_log." suffix=".txt"
mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
If your docBase is in "webapps/myapp" you have to specify it as shown below.
<Context path="/myapp" docBase="webapps/myapp" debug="0" ....
If "myapp" directory is somewhere else, you will have to specify full path to it, otherwise tomcat won't know what are you talking about
<Context path="/myapp" docBase="C:\wherever\myapp" debug="0" ....
Jardel Tan

Joined: Sep 11, 2001
Posts: 14
in /myapp folder i got 3 jsp files
when i created another 2 jsp files or any files into /myapp folder
my tomcat still list 3 jsp files but not the total of 5 jsp files
eventhough i restart tomcat server..
pls help..!
Have you checked out Aspose?
subject: tomcat4 newbie
jQuery in Action, 3rd edition