File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Doubt for a question in Head First ervlets and JSP book
Shyam Nallepilly Naganathan
Joined: Oct 31, 2004
Nov 13, 2004 06:20:00
Hi i am preparing for SCWCD 1.4 exam
In P.336 of Head First
book there is a question:
<%@ page isELIgnored="true" %>
what is the effect?
Answer is given as
E)The page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored> element with a url
that includes a JSP.
But this is wrong i think....Because even if we give el-ignored tag value as false in DD....if we give isELIgnored="true" in the page directive then the EL will be ignored.
Am i right or wrong?
Joined: Sep 30, 2003
Nov 13, 2004 07:17:00
You are right. There are serval thread for this. You can do a search.
here is one link:
subject: Doubt for a question in Head First ervlets and JSP book
Mistake in HF servlets?
HFS page 336 question 6, EL ignore/evaluate
Q(6) of chapter-7 - HFSJ - isELIgnored
doubt in HFSJ 1.4 question page no.330 question no.6
is it required to set el-ignored to true in DD?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014