• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ page 330

 
Aaron John
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 6 of HFSJ says:

Given:
<%@ page isELIgnored="true" %>
What is the effect?

I selected the answer D: The JSP containing this directive should NOT have any Expression Language code evaluated by the JSP container.

However the answer is 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.

In the HFSJ book on page 320 it says that EL can be ignored either through a directive OR a DD element. So selecting the answer E suggests that I need to do both. Does anyone think this is an error, or have I misunderstood this question?
 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer given in the book is wrong. This error has been mentioned in HFS Errata...
 
Aaron John
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shashank Tilwalli:
The answer given in the book is wrong. This error has been mentioned in HFS Errata...


Thanks for your quick reply. Can you show me where the errata is? I would hate to think that the book contains lots of wrong answers or information!

Thanks again.
 
Aaron John
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shashank Tilwalli:
The answer given in the book is wrong. This error has been mentioned in HFS Errata...


I am looking at the errata on http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

However it's not mentioned there. Can you show me where it's mentioned?
 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even I am not able to find the errata entry. I guess this error has been rectified in the new verion of the book. There are plenty of threads on this issue, The option you selected is the correct one...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic