title: View all fields / properties of bean in JSP / JSTL
body: <p>I have a bean, <code>${product}</code>. I would like to view all of the available fields / properties of this bean. So for instance, <code>${product.price}</code>, <code>${product.name}</code>, <code>${product.attributes.colour}</code> etc. </p>
  
  <p>Is it possible to dynamically print out all names and values of these properties in JSP, using JSTL/EL?</p>
  
  <p>Something like:</p>
  
  <pre><code>&lt;c:forEach items="${product}" var="p"&gt;  
      ${p.key} - ${p.value}
  &lt;/c:forEach&gt;
  </code></pre>