We can ignore EL evaluation in JSP page by two ways.
- Using page directive as
<%@ page isELIgnored="true" %>
- Configuring in web.xml – better approach when you want to disable EL evaluation for many JSP pages.123456
<
jsp-config
>
<
jsp-property-group
>
<
url-pattern
>*.jsp</
url-pattern
>
<
el-ignored
>true</
el-ignored
>
</
jsp-property-group
>
</
jsp-config
>
No comments:
Post a Comment