tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Villa" <>
Subject RE: Document Root
Date Wed, 15 Jan 2003 20:04:03 GMT

-----Original Message-----
From: Paul Yunusov [] 
Sent: Saturday, January 11, 2003 10:09 AM
To: Tomcat Users List
Subject: Re: Document Root

On Saturday 11 January 2003 10:57 am, Jonathan Villa wrote:
> I just started messing around with Tomcat and would like to know if I
> can change the Document Root to a location which I prefer. For
> my machine (windows) has 2 partitions, c: and d:.  C is where I store
> program files, including Apache, Netbeans, Tomcat, etc.  And D is
> I have source code files which run under Apache. In my httpd.conf file
> have DocumentRoot "d:/is/clients/".
> Now what makes this a Tomcat question is that I would like to have
> d:/is/java (notice that it's not under my apache docroot) as my
> directory for my java source code, so how can I do it.
> Foolish question but need clarification.
> What are the differences between c:/tomcat/work/standalone/localhost
> c:/tomcat/webapps.  For example where do I put my code?!?  I am
> wondering because the docs say c:/tomcat/webapps, but yet when I hit
> localhost/examples/... it goes to c:/tomcat/work/standalone/localhost.
> Hope I make sense.
> Jonathan Villa
> Application Developer
> IS Design & Development
> 414.429.0327

Check this out:

in particular, the appBase attribute.

and this:
and the docBase attribute.

As for the work directory, it shouldn't bother you at all because it's
internal Tomcat use. The webapps directory is the default location for
web applications in Tomcat. You can change that location using the 
information from the first link above.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message