• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Ignore EL

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I'am not sure to understand the Ignore EL material quite well...

In the HFS they are talkin on page 230 about ignoring the EL elements.

They said:


What is the effect? (choose all that apply.)

A. Nothing, this page directive is NOT defined.
B. The directive turns off the evaluation of Expression Language code by the JSP container in all of the web application's JSPs.
C. The JSP containing this directive should be treated by the JSP container as a well-formed XML file.
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 evalutation if the DD declares a element with a URL pattern that includes this JSP.
<hr></blockquote>


Reading the above quoted text (page 320) I answered: D.
But they gave us E as the result of this question.

For me those statements are conflicting!!!

Any one can help me clearing this up?

Thanks
Olivier
[ June 03, 2005: Message edited by: Olivier Cleyman ]
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is an error in the book. What you answered is correct.
Check the errata at

web page

Regards
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a spelling mistake?

<%@ page isELIgnored="true" %>


should result in the EL being ignored. I guess "when in doubt ..try it out" should give you the result D as you chose. The page directive takes precedence over DD which can be confirmed by testing that out too.
 
Olivier Cleyman
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vengan,

Thanks a lot for this errata page, I didn't even thought to look for an errata

Great!!

Olivier
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic