Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Filter question pg 695 HFSJ

 
Ken Teoh
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 695 of HFSJ Question 4 where it specifies /HopList.do
I was wondering why Filter 2 was not selected. since it is part of Filter 2
servlet name /Recipes/HopList.do
 
Vikrant Pandit
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filter 2 will only match /Recipes/HopsList.do and no other url pattern

The url pattern in question is /HopsList.do , hence it will not match /Recipes/HopsList.do

HTH
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ken

i too had posted some query regarding this.
please search through previous threads
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!