摘要: 1.最简单的方式(注解法) 1 2 @Autowired private HttpServletRequest request; 2.最麻烦的方法 a. 在web.xml中配置一个监听 <listener> <listener-class> org.springframework.web.conte 阅读全文
posted @ 2016-11-15 01:43 次序 阅读(30310) 评论(0) 推荐(2) 编辑