Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HeadFirst SCWCD - Question 6 - Page 330

 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe there is a mistake (not even reported in Errata) here, please confirm:

Q: Given: <@ page isELIgnored="true" %> what id the effect?

I believe option D is correct which says:

The JSP containing this directive should NOT have any Expression Language code evaluated by the JSP container.

But book says option E is correct which says:

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.


Thanks

Sean
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Option 'D' is correct which says:


The JSP containing this directive should NOT have any Expression Language code evaluated by the JSP container.



See this link what Bryan Basham says:
Discussed Earlier

Thanks,
[ July 04, 2007: Message edited by: Chandra Bhatt ]
 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chandra.

Sean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic