wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ Mock exam 7 Q6 page 336 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ Mock exam 7 Q6 page 336" Watch "HFSJ Mock exam 7 Q6 page 336" New topic
Author

HFSJ Mock exam 7 Q6 page 336

Charmy Madhvani
Ranch Hand

Joined: Dec 26, 2007
Posts: 59
<%@page isELIgnored="true"%>
what is the effect?
A:Nothing
B:The directive turns off evaluation of EL code by container in all of eb appln's jsps
C:Jsp containing this directive shud be treated as well formed XML
D:The jsp containing this directive shud not have any EL code evaluated by the container
E:This page will turn off directive only if <el-ignored>true</el-ignored> in DD

The answer is E. But I think it shud be D , cos DD has least priority. If the directive says ignore, it is ignored in jsp, am I right? Please reply


SCJP 5.0<br />SCWCD 5.0
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Would that be related to this errata ?


[My Blog]
All roads lead to JavaRanch
Sujata Samal
Greenhorn

Joined: Jan 29, 2008
Posts: 20
Hi,

As per as my understanding,if <el-ignored> is not all specified in DD(default is true) then jsp engine does not care for the directive value "isELEnabled" in any JSP page.
But if DD has someting for <el-ignored> then the value will be overiden by the directive value.

Thanks,
Sujata.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ Mock exam 7 Q6 page 336