It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mistake in HF servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Mistake in HF servlets?" Watch "Mistake in HF servlets?" New topic

Mistake in HF servlets?

chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63

I think there is a mistake in an answer to a mock exam question. P.330, question 6.


Given <%@ page isELIgnored="true" %>
what is the effect?

D. The JSP containing this directive should not have any EL code evaluated by the JSP container.

E. This page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored> element with a URL pattern that includes this JSP.

Option D should be the right answer, where as in HF Servlets, option E is given as the correct answer. Please let me know why I am wrong if I am wrong.

Gabriel Forro
Ranch Hand

Joined: Apr 16, 2004
Posts: 59

yes, D is the correct answer.

john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
you should post this to the HF Servlet errata page here
I agree. Here's the link:
subject: Mistake in HF servlets?
It's not a secret anymore!