• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ignore EL

 
Olivier Cleyman
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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 ]
 
Vengan Krish
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an error in the book. What you answered is correct.
Check the errata at

web page

Regards
 
seemapanth Joshi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic