Struts2、SpringMVC中获取request
Struts2中获取方式
HttpServletRequest request = ServletActionContext.getRequest();
SpringMVC中获取方式
HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes
原创
2013-10-17 18:00:58 ·
981 阅读 ·
0 评论