首页 > 技术文章 > 前台获取后台保存的数据

dawn-and-night 2017-05-24 09:27 原文

 

后台保存的数据

session.setAttribute("user", name);
request.setAttribute("password", password);

前台显示

欢迎session:${sessionScope.user}
  request:${requestScope.password}

推荐阅读