Hi Friends, In the Servlets and JSP by Kathy Sierra i read this question. For this it is given as C is the correct option <%@ page isELIgnored="true" %> what is the effect?
A. Nothing this page directive is not defined. B. The JSP containing this directive should not have any expression language code evaluated by the JSP container. C. the page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored> with a url pattern that includes this jsp.
If you are talking Servlet2.3/JSP1.2, then I would choose A
If you are talking Servlet2.4/JSP2.0, then I would choose B
Reference the JSP2.0 spec (section 3.3.2)
Option C to me is obviously wrong. The entry in web.xml is an alternative way of enabling/disabling EL evaluation in pages. However the page directive tag tags precedence over it. If that tag is present, whatever is defined in the DD is irrelevant.