Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exercise on p. 680 HFSJ

 
Tom Griffith
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. If anybody has a minute, I am wondering about the last question in the filter exercise on p. 680...the one where the request url is /Recipes/Add/AddRecipes.do. I ~think~ the filter ordering should be 3,1,5 but the answer given is 1, 3, 5. My thought comes from 3 being both mapped to a url-pattern and a closer match than 1. Does anybody know why I'm wrong? Thank you very much for reading this and for your time.
 
Kedar Dravid
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to HFSJ and SCWCD Exam Study kit:
Filters with matching URl patterns are placed in the chain in the order in which they are DECLARED in the DD.
Assuming the above statement reflects a truism, the given answers are correct.
 
Tom Griffith
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. Yeah, I re-discovered that over the weekend. Thank you very much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic