您的位置:首页 > 其它

IDEA的Maven中使用EL表达式

2016-01-15 20:19 316 查看
<%--
Created by IntelliJ IDEA.
User: ieayoio
Date: 2016/1/15
Time: 16:17
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>这种11:<%=request.getAttribute("message") %>
</h1>
<h2>${message}</h2>
</body>
</html>


加入
<%@ page isELIgnored="false" %>就好了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: