title: Get http request or session object in spring xml
body: <p>I know how to autowire a http request object in Java code:</p>
  
  <pre><code>@Resource
  private HttpServletRequest request;
  </code></pre>
  
  <p>I want to do something similar in the xml conf. The bean I'm trying to instantiate takes a http session object as constructor argument:</p>
  
  <pre><code>    &lt;bean class="..." scope="request"&gt;
          &lt;constructor-arg&gt;
               ???
          &lt;/constructor-arg&gt;
      &lt;/bean&gt;
  </code></pre>