top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to ignore the EL expression evaluation in a JSP?

0 votes
901 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

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...