Spring mvc取ThreadLocal中的HttpServletRequestt和HttpServletResponse为null

【Spring mvc取ThreadLocal中的HttpServletRequestt和HttpServletResponse为null】

Spring mvc取ThreadLocal中的HttpServletRequestt和HttpServletResponse为null

文章插图
Spring mvc将ThreadLocal中的HttpServletRequestt和HttpServletResponse作为nullSpring mvc将ThreadLocal中的HttpServletRequestt和HttpServletResponse作为null 。简介:项目是老项目,使用ThreadLocal访问HttpServletRequestt和HttpServletResponse,web.xml中的原始配置为