• Post Reply Bookmark Topic Watch Topic
  • New Topic

Filter Sequence Question  RSS feed

 
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
Boost this thread!