在SpringMVC Controller中注入Request成员域

http://www.javashuo.com/article/p-oamhcvfc-hg.html 主题   在工作中遇到1个问题....我们定义了一个Controller基类,所有Springmvc自定义的controller都继承它....在它内部定义一个@Autowired HttpServletRequest request;可不可以? 能不能从这个对象里取requestParamter
相关文章
相关标签/搜索