Hi Everybody, in p.no 680 of HFSJ i am surprised on the answers for the Request path 2 and 5.
can any body explain me how the URL matching happens here .Is it same as Exact, Directory and Extension matching used by container for resource finding, if this is the case, then for the Request path 2 the answer should be 2, 1, 5.
Could any body clear my doubt.
Any help is appreciated.
posted 9 years ago
<Filter mapping> can be done either using <url-pattern> or <servlet- name>
Follow this process
All the filters with matching URL pattern are placed in the chain in the order in which they are declared in DD.
Then all the filters with matching <servlet-name> are placed in the chain in the order in which they are declared in DD.
Now for example Recipes/HopsList.do has the matching