title: Printing an array/collection of javabeans in JSP
body: <p>Is there a standard way of printing an array/collection elements of javabeans in JSP? All I know is the <code>&lt;jsp:getProperty&gt;</code> tag which can't do this. I know it can be done using custom tags, but it being such an essential requirement should be provided by JSP. </p>
  
  <p>Also, I have read that using <code>setAttribute()</code> method of <code>PageContext</code>, <code>ServletContext</code> etc we can in a Servlet get the bean and work on it, but it's giving me <code>null</code> value.    </p>
  
  <pre><code>pageContext.getAttribute("beanPropertyVariable")  //set in page scope
  application.getAttribute("beanPropertyVariable")  //set in application scope  
  </code></pre>
  
  <p>How can I achieve this?</p>