Boy, that page is confusing. For example, it says "Each such Context
MUST have a unique context path, which is defined by the path
attribute." But then, you must NOT use a path attribute unless the
Context is in server.xml. ?!? And, is that "#" trick documented
anywhere? I don't see it on that page.
--
Len

On 10/10/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Christian Surlykke [mailto:[EMAIL PROTECTED]
> Subject: multilevel context path and auto reload
>
> If I put a context file under <catalina
> home>/conf/<enginename>/<host> or inside the the
> application's META-INF, the path attribute of the Context
> appears to be ignored.

Correct.  See the doc for the path attribute in:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

> So it seems that the only way to make an application with a
> 2-level path is to put it's Context inside <catalina
> home>/conf/server.xml.

Not true.  Name the file containing your <Context> elements like this:
conf/[engine]/[host]/salg#netbutikken.xml

The pound sign serves as the path component delimiter.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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