前台获取后台保存的数据

后台保存的数据

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

前台显示

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

原文地址:https://www.cnblogs.com/dawn-and-night/p/6897327.html