| Author |
HFSJ: Pg. 695 Are the sequences correct??
|
Jinesh Shah
Greenhorn
Joined: Oct 17, 2005
Posts: 10
|
|
The answers are: 1,5 1,5,2 1,5,4 5 1,3,5 I think, the 2nd and 3rd answers should be: 1,2,5 (NOT 1,5,2) 1,4,5 (NOT 1,5,4) (because the book says filters will be executed in the order in which they are declared in the DD) Can someone please explain this discrepancy? Thanks!
|
SCJP, SCWCD
|
 |
Rizwan Mohammad
Ranch Hand
Joined: Sep 02, 2005
Posts: 445
|
|
|
why dont you post full question instead of just answers and page numbers?
|
Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
|
 |
nikitha aedma
Greenhorn
Joined: Nov 17, 2005
Posts: 6
|
|
|
The answers that they gave are correct because we have to first look at matching URL patterns and the look at matching servlet name.
|
 |
Jinesh Shah
Greenhorn
Joined: Oct 17, 2005
Posts: 10
|
|
Thanks for clarifying!!
Originally posted by nikitha aedma: The answers that they gave are correct because we have to first look at matching URL patterns and the look at matching servlet name.
|
 |
Paul Bourdeaux
Ranch Hand
Joined: May 24, 2004
Posts: 783
|
|
Jinesh, While HFSJ is a very good book, remember that not everyone has it. So when discussing a specific question, please post the full text of both the qustion and the possible answers. This way people who do not have the book can also benefit from the shared knowledge.
|
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
|
 |
Jinesh Shah
Greenhorn
Joined: Oct 17, 2005
Posts: 10
|
|
Sure, will do. Thanks.
Originally posted by Paul Bourdeaux: Jinesh, While HFSJ is a very good book, remember that not everyone has it. So when discussing a specific question, please post the full text of both the qustion and the possible answers. This way people who do not have the book can also benefit from the shared knowledge.
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
Good advice guys. And for those of us that have the book, we will not always have it with us every time we are browsing the forum, so posting the complete question and answer is the best thing.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
|
|
subject: HFSJ: Pg. 695 Are the sequences correct??
|
|
|