No. Only one. I was saying that any one webapp named ROOT could be in that role. I'll be more specific next time. If you want to name it something else and avoid the double initialization, you'll have to store it outside of the webapps folder and write a custom ROOT.xml file in config/Catalina/localhost with a <Context> tag that looks something like:

<Context path="" docbase="path/to/your/webapp">
 <!--... Context spec stuff like JNDI ...-->
</Context>

--David

MC Moisei wrote:

That implies that I can have more than one application in ROOT folder...that would require some URL filtering in each app. Also if I look under webapps/ROOT folder there is a WEB-INF in there...

Are you basically saying that instead of naming my application "someapp" I'd have to name it ROOT ?

TIA!
MC
http://www.goodstockimages.com




From: David Smith <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way
Date: Tue, 08 Nov 2005 10:45:16 -0500

To answer the question, yes. Any webapp in the webapps folder named ROOT will become the root app.

--David

Caldarale, Charles R wrote:

From: Francis Galiegue [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

Will renaming the directory to ROOT have the same effect?



Don't know, haven't tried it.  Should only take you a few minutes to
test.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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





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




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



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

Reply via email to