Re: tomcat 5.x context path priority

2005-12-21 Thread David Smith
That passage hasn't changed since Tomcat 4. Think of it this way. When the request comes in, the very first decision tomcat has to make is what context should handle the request. It compares the incoming URI to it's list of context paths and sends the request to the context with the longest

Re: tomcat 5.x context path priority

2005-12-21 Thread foo java
Hi David, Thanks for your reply. But i didn't got it properly; How do you say that the defined context with "/myapps/conf" will get precedence over "/myapps" and subfolder conf in this application ?? The document you referred is for tomcat 5.5, is that also same for tomcat 5.0.x versions? Any to

Re: tomcat 5.x context path priority

2005-12-20 Thread David Smith
Just looking up some other info, I ran accross this which directly answers your question: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html --David David Smith wrote: I'm not sure there is a documented spec on this at the container (tomcat) level. One of the tomcat developers woul

Re: tomcat 5.x context path priority

2005-12-20 Thread David Smith
I'm not sure there is a documented spec on this at the container (tomcat) level. One of the tomcat developers would know best about this, but I would imagine tomcat handles such issues the same way servlet mappings within a webapp are handled. The longest matching path is the one that's chose