需要在jsp文件里加入
isELIgnored="false"
示范:
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
注意:有的版本idea在jsp里面不加isELIgnored="false",EL表达式无法用,jsp页面把它当作字符串放在页面
需要在jsp文件里加入
isELIgnored="false"
示范:
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
注意:有的版本idea在jsp里面不加isELIgnored="false",EL表达式无法用,jsp页面把它当作字符串放在页面