At 09:28 PM 23/05/2002 -0500, you wrote:
>Is there a way to set a default web app under Tomcat?

yes

>  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 www.mywebsite.net/mysite (assuming that your welcome file is 
> present).  I would like to configure Tomcat so that 'mysite' is the 
> default application so that the URL www.mywebsite.net presents the 
> welcome file present in the webapps/mysite directory.

in 'server.xml', add:

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

or

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

and then read the tomcat documentation


>Thanks.

no worries


thorsten frank


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to