title: Any way to list request header names with JSF EL -- without backing bean?
body: <p>Is there any way to use JSF EL (Java EE 7) to list all the request's header names and corresponding values in a 2-column table, without introducing a backing bean? I can do it if I create a bean and access that from EL, so I do have a means to the end -- but the thing I'm trying to figure out is  if it can be done entirely with "out of the box" EL.  "That's not possible" would be a fine answer -- I'm still learning.</p>
  
  <p>I thought something like this:</p>
  
  <pre><code>  &lt;table&gt;
      &lt;ui:repeat value="#{request.getHeaderNames()}" var="hdr"&gt;
        &lt;tr&gt;
          &lt;td&gt;#{hdr}&lt;/td&gt;
          &lt;td&gt;#{headerValues[hdr]}&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/ui:repeat&gt;
    &lt;/table&gt;
  </code></pre>
  
  <p>But that gives a 1-row table, something like this:</p>
  
  <pre><code>org.apache.catalina.util.Enumerator@2dbf763b    [Ljava.lang.String;@74eb32f3
  </code></pre>
  
  <p>I suspect that because <code>request.getHeaderNames()</code> is giving an enumerator instead of a list of some kind that <code>ui:repeat</code> wants, this approach won't work at all, and I need to do something fundamentally different.  </p>