This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question on HF Page #336 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question on HF Page #336" Watch "Question on HF Page #336" New topic

Question on HF Page #336

Kalai Ganesh
Ranch Hand

Joined: Sep 08, 2003
Posts: 32

In coffee cram on chapter 7, the answer to question 6 says :

E. This page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored>element with a URL pattern that includes this JSP.

as the correct answer. But isn't it supposed to turn off EL for that particular page even if there isn't anything on EL in DD?
I feel the option D is the only right answer.
Can anyone help me with this??

Henrik Krievs
Ranch Hand

Joined: Jan 05, 2004
Posts: 60

Funny - I was just about to post the very same question !

Rgds, Henrik
Gabriel Forro
Ranch Hand

Joined: Apr 16, 2004
Posts: 59

have a look at to:

You can find a list of errors in the current print of "Head First Servlets and JSP".
The correct answer is 'D', as You supposed.

Kalai Ganesh
Ranch Hand

Joined: Sep 08, 2003
Posts: 32
Thanks Gabriel.
I agree. Here's the link:
subject: Question on HF Page #336