Do not trust what your container does. The specification does not seem to tell which servlet will be taken first (or I'm missing it). It depends on the way the container stores the servlets. ---------------------------- SRV.11.1 Use of URL Paths
The path used for mapping to a servlet is the request URL from the request object minus the context path and the path parameters. The URL path mapping rules below are used in order. The first successful match is used with no further matches attempted:
1. The container will try to find an exact match of the path of the request to the path of the servlet. A successful match selects the servlet. ---------------------------- The first successful match. But in what order ?