This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

tomcat4 newbie

 
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>
 
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..!
 
Paper beats rock. Scissors beats tiny ad.
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic