摘要: 在springMVC的controller中获得HttpServletRequest对象@RequestMapping("/test")@ResponseStatus(HttpStatus.NO_CONTENT)public void test(HttpServletRequest request){ System.out.println(request.getServletPath());} 阅读全文
posted @ 2014-01-10 01:36 cyberghost 阅读(477) 评论(0) 推荐(0)