This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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
Author

tomcat4 newbie

Jardel Tan
Greenhorn

Joined: Sep 11, 2001
Posts: 14
hi!
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"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_myapp_log." suffix=".txt"
timestamp="true"/>
</Context>
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
Greenhorn

Joined: Sep 11, 2001
Posts: 14
example,
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..!
 
GeeCON Prague 2014
 
subject: tomcat4 newbie