Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in EL !

 
Jayashree Mohan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given
<%@ page isELIgnored="true"%>
What is the effect ?
D) The JSP containing this directive should not have any expression language code evaluated by the JSP container.
E) This page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored> element with the URL pattern that includes this JSP.

Answer in HFSJ is E. but I feel answer shud be D. Since it is mentioned in HFSJ that page directive has got precedence over DD elements.

Please clarify my doubt
 
Mani Jagathesan
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct answer is D.

This is marked in the errata

http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

http://www.oreilly.com/catalog/headservletsjsp/errata/

So, you answer is correct.
 
Jayashree Mohan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mani !
 
Rodrigo Alvarez
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I also think the correct answer is D. However, here is what the errata says:

{336} Question #6;
The answer should be E, not D

from :
http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

=> ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic