• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on HFSJ pg 336

 
Yoshita Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

A question on pg 336, HFSJ is
<%@ page isELIgnored="true" %>
What is the effect?

The answer marked goes:

"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"

--Wouldn't the directive ignore EL irrespective of whether its there in the DD or not.

Do comment.
[ October 20, 2007: Message edited by: Yoshita Jain ]
 
Lalit mishra
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yoshita,

The correct answer for that question is option D Jsp containing this directive should not have any EL code evaluated by the jsp container.

Please do check Head First Errata.

Thanks,
Lalit M.
 
Yoshita Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lalit!
I did check the errata.. don't see it in there though
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yoshita, you are correct in saying that the errata does not contain anything about this question. I too checked and found nothing.
 
Veeru Bond
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also think that the option D is correct.But nothing is mentioned in errata regarding pg 336
Lalit-please help up & let us know if you are referring to any other errata link.
 
Lalit mishra
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not included in errata Sorry for replying so late
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic