• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

isELIgnored="true"

 
Deep Gagan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have doubt in the followig question.
Source :- HFSJ chapter 7's Mock Exam (page 336)

Q6 Given
<%@ page isELIgnored="true" %>
what is effect (choose all that apply)

A. Nothing, this page directive is NOT defined.
B. The directive turns off the evaluation of EL 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 EL code evaluatd by JSP container.
E. This page directive will only turn off EL evaluation if the DD decalres a <el-ignored>true</el-ignored> element with a URL patter that includes this JSP.

Answer(in book) is E.

Is it really necessary we should have <el-ignored>true</el-ignored> in DD to use isELIgnored="true" in our JSPs....???
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it really necessary we should have <el-ignored>true</el-ignored> in DD to use isELIgnored="true" in our JSPs....???

No. That's why answer E is wrong.
 
Deep Gagan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, there was typo in my post...i have edited the message now...

Answer given in book is E....
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's listed in the errata (unconfirmed).
 
Deep Gagan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe

Thanks for sharing the link, it really helps.

Thanks
Gagan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic