Map<String, String>map = new HashMap<String,String>();
map.put(“code”, employee.getMarkCode());
map.put(“name”, employee.getName());
map.put(“mobile”, employee.getMobile());
session.setAttribute(“account”, map);
页面
Map<String, String>map = new HashMap<String,String>();
map.put(“code”, employee.getMarkCode());
map.put(“name”, employee.getName());
map.put(“mobile”, employee.getMobile());
session.setAttribute(“account”, map);
页面