title: HttpServletRequest for jsf
body: <p>i have a jsp site where i get an attribute using request.getAttribute.
  i'm looking for a way to get that attribute in jsf (running in the same tomcat). this is what i found on the internet:</p>
  
  <pre><code>HttpServletRequest requestObj = (HttpServletRequest)         
  FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String value =  (String) requestObj.getAttribute("property");
  </code></pre>
  
  <p>but the result (value) stays null.</p>
  
  <p>what could possible reasons be that it works in the first case but not in the second?</p>