摘要: 第一种方式是 通过session 第二种如下: 如何将controller层值传递到JSP页面 @RequestMapping(value="/result",method=RequestMethod.GET) public String test2(HttpServletRequest reque 阅读全文
posted @ 2019-04-11 17:37 Samuel-Leung 阅读(4710) 评论(0) 推荐(0) 编辑
摘要: 一、三种情况如下 HttpSession session = request.getSession(); HttpSession session = request.getSession(true); HttpSession session = request.getSession(false); 阅读全文
posted @ 2019-04-11 17:26 Samuel-Leung 阅读(2131) 评论(0) 推荐(0) 编辑