The EL expression in JSP is invalid because the jspel expression is invalid.
The EL expression in JSP is invalid.
Step 1:
First, determine whether you want to import the JSTL package.
Right-click the project and choose Myeclipse -- Add JSTL Librarys.
Step 2:
Determine the Servlet/JSP version used.
View the starting part of web. xml. If the following content exists, it indicates Servlet 2.4/JSP 2.0.
<web-app version="2.4" xmlns="https://java.sun.com/xml/ns/j2ee" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://java.sun.com/xml/ns/j2ee https://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
If the following content exists, it indicates Servlet 2.3/JSP 1.2.
<!--CTYPE web-app PUBLIC </sp--> "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "https://java.sun.com/dtd/web-app_2_3.dtd">
By default, Servlet 2.3/JSP 1.2 does not support EL expressions, whereas Servlet 2.4/JSP 2.0 does.
In Servlet 2.3/JSP 1.2, add the following code at the beginning of the JSP page.
<%@ page isELIgnored="false" %>
Alternatively, add
<jsp-config> <el-ignored>false </el-ignored> </jsp-config>
In Servlet 2.4/JSP 2.0, check whether isELIgnored is set to true in the above Code. in xml, whether to set el-ignored in the jsp-property-group label in jsp-config to true.