在jsp页面的上方加入:isELIgnored="false"
,因为有的默认是关闭EL
表达式。
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>
在jsp页面的上方加入:isELIgnored="false"
,因为有的默认是关闭EL
表达式。
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>