怎么样在方法里面得到 Request,或者 Session?

答案解析

方法参数加HttpServletRequest、HttpSession,SpringMVC自动注入。