调用存储在session属性里的东西

将对象放在session里面

request.getSession().setAttribute("username", username);  //放到会话里

 永EL表达式调用

${sessionScope.username}
原文地址:https://www.cnblogs.com/max-hou/p/10874663.html