Creating liferay portlet - how to pass data to view.jsp from Java class?

Viewed 33495

I'm trying to create portlet in liferay with just only from a JSP file called view.jsp. What I need is:

  1. When the portlet loads, I want to call custom Java class where I generate an array.

  2. I need to pass that array to the view.jsp.

How to do that?

3 Answers
Related