Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ page number 712 Filter sequence.

 
manisha makwana
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

for the request /Receipes/HopList.do the sequence answer is 1,5,2.

Can anyone explain me how?In the book it has mentioned that all the filters with matching URL are located first, and then Filters with matching URL patterns are placed in the chain in the order in which they are declared in DD.

So according to this sequence should be 1,2,5 this is what i think.Please enlighten me on the same.
 
Lee Kian Giap
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Order as follow:
first is <url-pattern> (matched patterns in the order in which they are declared in DD),
then only <servlet-name>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic