title: Creating liferay portlet - how to pass data to view.jsp from Java class?
body: <p>I'm trying to create portlet in liferay with just only from a JSP file called <code>view.jsp</code>. What I need is:</p>
  
  <ol>
  <li><p>When the portlet loads, I want to call custom Java class where I generate an array.</p></li>
  <li><p>I need to pass that array to the <code>view.jsp</code>.</p></li>
  </ol>
  
  <p>How to do that?</p>