aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in HFSJ 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 "Doubt in HFSJ" Watch "Doubt in HFSJ" New topic
Author

Doubt in HFSJ

Shivakanth Thyagarajan
Ranch Hand

Joined: Mar 28, 2005
Posts: 41
There is a question on page 336 ( mock exam) of HFSJ

<$@ page isELIgnored="true"%>
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 JSP's
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 evaluating if the DD declares
a <el-ignored>true</el-ignored> element with a URL pattern that
includes this JSP.

I chose answers D and E.

Answer: E.

I want to know why D is invalid. Isn't it true by choosing the isELIgnored="true" i have asked the container to ignore all EL code for the particular JSP page.

Please respond.

Thanks
Shivakanth.T
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The answer is in the Errata

Please correct your book.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in HFSJ
 
Similar Threads
HFSJ , Page 336, Question 6
HFSJ page 336 on Question 6 --
Wrong answer in HFSJ Coffee Cram
Need help in EL !
Mock Question of Chapter 7 of HFSJ