Ayo

2019-12-18 11:07

把web.xml改成

------------------------------------------------------------------------------

xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">



重新部署,启动tomcat,结果EL表达式被正确解析了出来。



我是搬运工 ->>https://www.oschina.net/question/71225_240751