• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL ignoring

 
Eshu Ravi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im referring to Head First Servlets & JSP ...In chapter7 coffee cram question no.6 says:

<%@ page isELIgnored="true" %>
what is the effect ?

Options:
1.Nothing ,this page directive is not defined.
2.The directive turns off the evaluation of Expression language code by the JSp container in all of the web application's JSp
3.The JSp containing this directive should not have any Expression Language code evaluated by the container.
4.The JSP containing this directive will only turn off the EL if the DD declares a <el-ignored>true</el-ignored> element with a url patttern that includes this JSp


the answer i thought was 3.but the book says it's option 4.
can anyone explain this

Thanks
 
J.C. Guardino
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just noticed the same possible error. It's on page 336. The book says the correct answer is E, but it should be D.

Could one of the authors please confirm?
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep. I also agree that the answer should be D instead. For E, the page directive can override the settings in the DD.
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confirming this--looks like a mistake to me, and that the answer should be "D". I have no idea what we were thinking, or if we just checked the wrong box.

Wow... it's amazing that this made it past seven different people, and then y'all find it immediately.

Something tells me Eshu is going to get a really, really, really good score on the real exam.

Thanks again Eshu!

Sorry about the first-printing errors in your, um, "collector's edition". We tried our very best to get this one perfect from the beginning, but we knew a few things would somehow sneak in.

You're really helping everyone by bringing this up!!

cheers,
Kathy
 
J.C. Guardino
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kathy, I'm about halfway through the book and it's fantastic. The proofreading quality does seem to be MUCH better than HF EJB, which was fraught with grammatical and typographical errors (stray commas galore especially).

Keep up the good work. Really looking forward to a HF book for SCJWS.
 
Bert Bates
author
Sheriff
Posts: 8905
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J.C. -

Thanks for your support! My advice is "don't hold your breath" waiting for a web services book - there are lots of other books higher on our list... patterns is coming very soon
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is still not on the errata list.
 
Roger Yates
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did anyone submit it?
http://www.oreilly.com/catalog/headservletsjsp/errata/
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic