The javadoc for ServletContext.getContextPath() says that
It is possible that a servlet container may match a context by more than one context path.
I was trying to find any explanation how this could possibly be achieved, but haven't found anything. In case of all servlet-engines that I have worked with, it is possible to specify only 1 single path when deploying an app. Does anyone know any example of a situation where a single app deployment may be matched by more than 1 path?