Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to store my HTML file in Tomcat3.1

 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI everybody:
Can anyone tell me where should i store my html files in tomcat3.1?
Thank you
Siva
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to Core Servlets & Java Server Pages (pg 310) the directory is:
<install dir>/webapps/ROOT
John
 
lokesh reddy
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
First let me ask you a question, r u using tomcat as a standalone server or plugin for apache?
If you r using it as a standalone server, then i think it is not the best way to generate your html files using tomcat. Because tomcat is not much efficient and configurable as apache. It takes some time to generate simple html files. So i would like to prefer you to use tomcat as a plugin and add ur html files under apache->html directory.
If u want to use tomcat as a stand alone server, then u have to place you files in webapps directory.
I hope u find this info useful.
Bye.
Loke
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lokesh and John
Thanx for ur information.
I am using Tomcat as a stand alone . Do u think it is better if i download Apache. I never used Apache before .
Can u pls guide where should i download it and how should i plugin Tomcat with it
Tahnk you
Siva
[This message has been edited by Sivakumar Jagadeesan (edited November 16, 2000).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic