Dear Chales (and James)

why do you call it not really a hierachy? If you name the deployments e.g.

        ROOT.war
        foo.war
        foo#bar.war

then the "expected" will happen: The longest context path will match to the 
corresponding container:

* all /foo/bar{,/.*} will be served by foo#bar.war,
* all other /foo{,/.*} will be servered by foo.war
* all other {,.*} will be served by ROOT.war


@James: This will even work with Tomcat 6 ;)


Greetings

Guido

>-----Original Message-----
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Sent: Thursday, August 23, 2018 4:19 AM
>To: Tomcat Users List <users@tomcat.apache.org>
>Subject: RE: Contexts: can there be a hierarchy?
>
>Not really a hierarchy, but just name your .war files (or directories) 
>appropriately:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to