I'm not 100% sure, but if you are just running the default config, in the <host> tag 
it specifies the default location and in the Catalina.properties file it identifies 
all of the default class paths.

Now I've created multiple instances by adding additional <host> entries and then in 
the Catalina folder I create subfolders matching the host name I created and in there 
I place my xml files that have the context information I want....

-----Original Message-----
From: Chaikin, Yaakov Y (US SSA)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 12:42 PM
To: [EMAIL PROTECTED]
Subject: Default Context in Tomcat 5.0.19


Hi,

I am a bit confused about this one. I am able to run servlets using the
invoker servlet by placing the classes in the ROOT/WEB-INF/classes
directory. 

Yet, I don't see in server.xml any mention of the default context. Has
this changed since 4.1.x version? I've looked into
conf/Catalina/localhost/ directory and I don't see any context files
there that would indicate that default context is being defined.

As far as I remember I used to define the default context by:

<Context path="" docBase="ROOT" debug="0"/>

How is this done now and how do I turn off the default context going to
ROOT?

Thanks.

Yaakov Chaikin
Software Engineer
BAE SYSTEMS
301-838-6899 (ph)
301-838-6802 (fax)
 


---------------------------------------------------------------------
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