When maven creates a project, the web.xml header declaration defaults to 2.3, and this default jsp closes the el expression
It is recommended to use the second one, each page of the province needs to be modified
1. Add the header of the page
<%@page isELIgnored="false"%>
2. Method 2: Change the header declaration to 3.0
The web.xml configuration header information is as follows:
- <?xml version="1.0" encoding="UTF-8"?>
- <web-app xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
- version="3.0">
- </web-app>