If your application requires EL to be
ignored it can be done by setting the is
EL ignored attribute to true in the page
directive.
O <%@ page is ELIgnored="true" %>
O <%@ page is ELIgnored="false" %>
O <%@ page ELignored="true" %>
<%@ page is ELIgnor="false" %>
Answers
<%@ page isELIgnored="true" %>
I hope this helps you
please mark me briallent please
Answer:
Concept:
JSP Expression Language (EL) is useful and is evaluated in JSP pages by default since Servlet 2.4. However, sometimes we would not want to evaluate EL, e.g. keep everything in the pattern ${..} looks as it is. In JSP, it’s possible to deactivate EL evaluation for a single JSP page for a group of JSPs
Explanation:
Default EL Evaluation Mode
EL evaluation is enabled by default if the Servlet version specified in the web deployment descriptor file (web.xml) is 2.4 or later, for example:
<web-app xmlns:xsi=….. version=”3.0”>
And EL expressions are ignored if the Servlet version is 2.3 or lower:
<web-app xmlns:xsi=….. version=”2.3”>
Today the latest version of Servlet is 3.0, so it’s likely that every Java web application has EL evaluation enabled by default.
Deactivating EL evaluation for a single JSP page
We can deactivate EL evaluation in a single JSP page by specifying the attribute isELIgnored=”true” in the page directive as follows:
<%@ page isELIgnored="true" %>
#SPJ2