EL表达式传递不了数据
这个问题其实就是你的maven中的web骨架过时问题
在这提供一套模板,
直接CV到web.xml中就好了。
其他博主说因为没有吧EL表达式开启,但是这是默认是开启的,所以排除。
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
</web-app>