HttpServletRequest reuse
问题 It seems that some servlet containers reuse HttpServletRequest (or more generally, ServletRequest ) instances between requests. Question: Can someone point to the servlet spec where this behavior (or the validity rules for references to such instances) is defined ? 回答1: It is not defined in the Servlet API. It is an implementation detail. In 3.11 for request objects (and 5.6 for response objects) Each request object is valid only within the scope of a servlet’s service method, or within the