- Request URI = context path + servlet path + path info
- Context Path and Servlet Path start with a / but do not end with it.
Identifying Servlet Path
- Exact match of URI to any servlet mapping. In this case, entire match is servlet path and path info is null
- Recursive match the longest path by stepping down the request URI path tree to a directory at a time, using / character as a path separator.
- last node of request URI contains extension and there exists servlet that handles request for that extension,
- forward to default servlet. If no default servlet, send an error message