摘要:
首先,需要在web.xml中添加一个spring的监听 org.springframework.web.context.request.RequestContextListener 然后 这样就可以获得ServletRequestAttributes request =(ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); HttpSession session=request.getRequest().getSession(); 阅读全文
posted @ 2013-08-26 10:47
100Mbps
阅读(183)
评论(0)
推荐(0)
浙公网安备 33010602011771号