IDEA的项目C标签前台取不到值,直接显示${}表达式的解决办法
1.web的xml文件的错误。
去项目使用的tomcat的conf文件夹中的web.xml 中复制头约束–>替换项目web.xml的头约束。
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
这个原因导致前${}取不到值