tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "surinder singh" <>
Subject Re: How to set the default directory
Date Sat, 09 Sep 2000 10:19:57 GMT
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" >

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

View raw message