tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thorsten frank <>
Subject Re: Default Webapp
Date Fri, 24 May 2002 02:43:13 GMT
At 09:28 PM 23/05/2002 -0500, you wrote:
>Is there a way to set a default web app under Tomcat?


>  For example, if I package a website in mysite.war, it is installed into 
> webapps/mysite.  In order to use this application, the user must use the 
> url (assuming that your welcome file is 
> present).  I would like to configure Tomcat so that 'mysite' is the 
> default application so that the URL presents the 
> welcome file present in the webapps/mysite directory.

in 'server.xml', add:

<Context path="" docBase="mysite"....


<Context path="" docBase="mysite.war"....

and then read the tomcat documentation


no worries

thorsten frank

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

View raw message