title: Spring: how do I inject an HttpServletRequest into a request-scoped bean?
body: <p>I'm trying to set up a <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-scopes-other" rel="noreferrer">request-scoped bean</a> in Spring.</p>
  
  <p>I've successfully set it up so the bean is created once per request. Now, it needs to access the HttpServletRequest object.</p>
  
  <p>Since the bean is created once per request, I figure the container can easily inject the request object in my bean. How can I do that ?</p>