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