• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Doubt on HFSJ pg 336

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lalit!
I did check the errata.. don't see it in there though
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is not included in errata Sorry for replying so late
 
I just had the craziest dream. This tiny ad was in it.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic