160317(一)、在非action中获取request

HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();             HttpSession session = request.getSession();
posted @ 2016-03-17 17:57  目标奔雷手  阅读(167)  评论(0编辑  收藏  举报