IDEA的Maven中使用EL表达式

来源:互联网 发布:淘宝火车票网上订票 编辑:程序博客网 时间:2024/06/16 03:33

<%--  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" %>就好了




0 0
原创粉丝点击