Caldarale, Charles R a écrit :
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Subject: Re: placing context.xml in META-INF works?
How do you manage the problem, if you need to define a Host element
whith many Alias ?
Hosts are a completely different problem, since they are not subordinate
to an app.
Can you put the definition of your Host element in
%TOMCAT_HOME%/conf/[ENGINE]/[HOST]/myApp.xml, and nest the context
definition inside the host definition ?
No. Check the doc for the proper hierarchy of elements.
You can programmatically add hosts on the fly - the admin app does it.
- Chuck
Ok thanks.