百度

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

将对象放在session里面

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

 永EL表达式调用

${sessionScope.username}

 

posted @ 2019-05-16 11:38  麦克斯-侯  阅读(226)  评论(0)    收藏  举报
百度