I know two ways to define a default context in Tomcat:

- a Context that has an empty PATH attribute will become the default web
application for the virtual host. This definitely works on Tomcat 5.5
- DefaultContext element in the Host is the other way to define a
default context, but this may work only on Tomcat 5.0

Ross

-----Original Message-----
From: Ivan Balashov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 1:08 PM
To: 'Tomcat Users List'
Subject: RE: How set a default context



I think it should be configurable from somewhere. Moving directories or
writing some custom apps for this IMHHHHHo is not quite right.

-Ivan

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 11:54 AM
To: Tomcat Users List
Subject: Re: How set a default context

Ivan Balashov wrote:
> But that means the context of application will change, as opposed to
making
> it default. I'm not sure if this change is harmful to the application,
but
> if it uses e.g. context name for some reason it might be failing.
> 
> -Ivan

If this is the case then you have a badly written application. In the
short term you can try putting a simple ROOT app that just redirects
to your app .

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

"This communication is intended solely for the addressee and is confidential 
and not for third party unauthorized distribution"

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to