<%@ page import="core.user.User" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.HashMap" %><%-- Created by IntelliJ IDEA. User: lenovo Date: 2019/1/12 Time: 13:19 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 填写信息 <%Map map2=new HashMap(); map2.put("姓名","李先生"); map2.put("学号","201630126050"); map2.put("电话","18711191679"); map2.put("题目","论文"); map2.put("5","李先生2"); map2.put("6","李先生2"); pageContext.setAttribute("map",map2); String type ="student"; pageContext.setAttribute("type",type); %>
填写意见
${map.姓名}
${z.key}:${z.value}