Hey,
1. In directory match was is necessary to have the end slash also.
eg:
is this
servlet match with the following request as directory match?
http://localhost/Test/abc (no end slash like /abc/)
2.It was said that if a request match more than one url-pattern container will choose the longest mapping also it was said container will first look for exact match , directory match and then extension map.
so its kind of contradictory know? since the exactly match is the longest this wouldnt be a problem? but what if we choose both exact and directory match have the same length.
eg: