• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HFSJ page 330

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic