top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to ignore the EL expression evaluation in a JSP?

0 votes
1,026 views
How to ignore the EL expression evaluation in a JSP?
posted Sep 19, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

We can ignore EL evaluation in JSP page by two ways:

1.Using page directive as <%@ page isELIgnored="true" %>
2.Configuring in web.xml – better approach when you want to disable EL evaluation for many JSP pages.

<jsp-config>
    <jsp-property-group>
        <url-pattern>*.jsp</url-pattern>
        <el-ignored>true</el-ignored>
    </jsp-property-group>
</jsp-config>
answer Sep 20, 2017 by Sourav Kumar
...