It's not a secret anymore!
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
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

HFSJ Mock exam 7 Q6 page 336

Charmy Madhvani
Ranch Hand

Joined: Dec 26, 2007
Posts: 59
<%@page isELIgnored="true"%>
what is the effect?
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é

Joined: Nov 24, 2005
Posts: 14688

Would that be related to this errata ?

[My Blog]
All roads lead to JavaRanch
Sujata Samal

Joined: Jan 29, 2008
Posts: 20

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.

I agree. Here's the link:
subject: HFSJ Mock exam 7 Q6 page 336
It's not a secret anymore!