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

tomcat4 newbie

 
Jardel Tan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic