You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by person <mb...@pleiades.ca> on 2000/09/09 15:47:59 UTC

Re: How to set the default directory

In your server.xml file change the line

<Context path="" docBase="webapps/ROOT" debug="0" reloadable="true" >

to

<Context path="" docBase="webapps/yourwebapp" debug="0"
reloadable="true"/>

Micah

The memory management on PowerPC can be used to frighten small children.

	-- Linus Torvalds

On Sat, 9 Sep 2000, Gowri S wrote:

> Hi!
> Could anyone tell me how to set my web application deployment directory
> as the default directory for tomcat. As it is, ROOT is the default
> directory.
> I want to change it to a directory of my own such that, once I startup
> tomcat, typing  "http://localhost:8080/" in my browser address window,
> I should get the index.html from my directory not ROOT.
> 
> Thanks in Advance
> --gowri
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>