Very Urgent, Portlet session passing parameters to JSP
I am having a problem that I can not know how to fix it. My problem is I can not transfer the values I can catch in my java file but not to JSP when I click on an URL in my JSP file to another JSP page.
In my java file in doview(), I have
PortletSession session = request.getPortletSession();
String[] MyNetworks = request.getParameterValues("networks");
session.setAttribute("networks", MyNetworks, PortletSession.APPLICATION_SCOPE);
// MyNetworks = session.getAttribute("networks");
MyNetworks = (String[]) session.getAttribute("networks");
In my JSP files
HttpSession session =request.getSession(true);
String[] MyNetworks = request.getParameterValues("networks");
session.setAttribute("networks", MyNetworks );
MyNetworks =(String[]) request.getSession().getAttribute("networks");
I can catch the MyNetwork [] in my java file, but I can not catch all the values from an URL click, it only display the last value of MyNetwork[], not all of them. When I continue to click the URL in previous JSP again, MyNetwork[] in JSP become null but in java file I can still catch all the values from MyNetworks [].
Please help me solve this problem. This is very urgent request.

