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

Filter Sequence Question

 
Sandip Kaviman
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am just looking for help in clarification.

In HFSJ Chapter 13 Filter and Wrappers -Sharpern Your Pencil execercise.
For request
/Recipes/Modify/ModRecipes.do, as per me sequence of filter call should be Filters 1,4,5.But the answer it is 1,5,4.
And for request Recipies/HopList.do the sequence should be Filter 1,2,5. But the answer is 1,5,2


Can someone throw light?


Thanks
Sandip
 
Dee Brown
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filters with <url-pattern> elements take precedence over those with <servlet-name> elements. Meaning those with <url-pattern> elements (if any) are grouped first in the list.
 
Sandip Kaviman
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dee.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic