In HFSJ book its told that if a url is encountered then container checks for an exact match,then the longest directory match to shortest and then extension.But in exercises they have marked two urls
/foo/bar and /foo/* so naturally a url like ..../foo/bar/.... should go to the
servlet mapped to /foo/bar right?But they have given the answer as /foo/*.Can anyone please explain?