File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes isELIgnored= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "isELIgnored="true"" Watch "isELIgnored="true"" New topic
Author

isELIgnored="true"

Deep Gagan
Greenhorn

Joined: Aug 03, 2007
Posts: 11
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....???

Thanks & Regards
SCJP, SCWCD
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
Deep Gagan
Greenhorn

Joined: Aug 03, 2007
Posts: 11
Sorry, there was typo in my post...i have edited the message now...

Answer given in book is E....
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

It's listed in the errata (unconfirmed).
Deep Gagan
Greenhorn

Joined: Aug 03, 2007
Posts: 11
Christophe

Thanks for sharing the link, it really helps.

Thanks
Gagan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: isELIgnored="true"
 
Similar Threads
HFSJ , Page 336, Question 6
HFSJ - Error in Exercise?
HFSJ Page 336, question 6
HFSJ Mock exam 7 Q6 page 336
doubt in HFSJ 1.4 question page no.330 question no.6