File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Where to store my HTML file in Tomcat3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where to store my HTML file in Tomcat3.1" Watch "Where to store my HTML file in Tomcat3.1" New topic
Author

Where to store my HTML file in Tomcat3.1

Siva Jagadeesan
Ranch Hand

Joined: Oct 31, 2000
Posts: 160
HI everybody:
Can anyone tell me where should i store my html files in tomcat3.1?
Thank you
Siva


Rgds<p>--Siva Jagadeesan<br /><a href="http://java2simple.blog-city.com" target="_blank" rel="nofollow">http://java2simple.blog-city.com</a><br />Sun Certified Java2 Programmer<br />Sun Certified Web Component Developer<br />BEA Certified Weblogic Server 7 Enterprise Developer
John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1441
According to Core Servlets & Java Server Pages (pg 310) the directory is:
<install dir>/webapps/ROOT
John


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
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

Joined: Oct 31, 2000
Posts: 160
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).]
 
 
subject: Where to store my HTML file in Tomcat3.1
 
Similar Threads
How to use MS-Access in Tomcat 3.1
Session Tracker
In which directory do I place html files on tomcat3.1
Can't read cookie from another page!
servlet ......a simple problem