I\'m trying to create portlet in liferay with just only from a JSP file called view.jsp. What I need is:
When the portlet loads, I want to call
You can do this in several ways :
1) You can use renderRequest.setAttribute("my-array", array);
2) You can put your data into a session
request.getPortletSession().setAttribute("my-array", array);
In the second case don't forget to delete your element from the session when you don't need it any more.