You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by surinder singh <su...@bflsoftware.com> on 2000/09/09 12:19:57 UTC

Re: How to set the default directory

edit $TOMCAT_HOME/conf/server.xml and replace the docBase="webapps/ROOT"
with docBase="path of ur directory" in the following:

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


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


Re: How to set the default directory

Posted by Gowri S <go...@aztec.soft.net>.
Yeah That works fine! Thanks a lot!!

surinder singh wrote:

> edit $TOMCAT_HOME/conf/server.xml and replace the docBase="webapps/ROOT"
> with docBase="path of ur directory" in the following:
>
> <Context path="" docBase="webapps/ROOT" debug="0" reloadable="true" >
>         </Context>
>
> 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