This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Mistake in HF servlets?" Watch "Mistake in HF servlets?" New topic
Author

Mistake in HF servlets?

chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
Hi,

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

Question:

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.

Thanks.
Chandana
Gabriel Forro
Ranch Hand

Joined: Apr 16, 2004
Posts: 59
Hi,

yes, D is the correct answer.


Gabriel
john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
you should post this to the HF Servlet errata page here
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Mistake in HF servlets?
 
Similar Threads
doubt in HFSJ 1.4 question page no.330 question no.6
Having doubt in EL
Page Directive - isELIgnored Doubt
Doubt for a question in Head First ervlets and JSP book
doubt on isELIgnored