The Servlet Spec 2.3, the chapter on Mapping Requests to Servlets, first section Use of URL Paths, reads:
"Upon receipt of a client request, the web container determines the web application
to which to forward it. The web application selected must have the the longest
context path that matches the start of the request URL. The matched part of the URL
is the context path when mapping to servlets."
I don't understand the "The web application selected must have the the longest
context path that matches the start of the request URL" bit.
Could somebody explain this a little further, with a couple of examples?
Alan