Hello there, what i am trying to do here is pass an array that i have created in one.jsp to another.jsp.
So if i want to pass a single variable say Long (for example) i would do something like that:
one.jsp
Long pairId = new Long(15);
session.setAttribute("pair", pairId);
and to retrive it from another.jsp
Long pairId = new Long(session.getAttribute("pair").toString());
Now instead of
Long pairId if i create a
Long[] pairArray and want to move it from one.jsp to another.jsp what should i do? Please let me know if this is possible and if not, please suggest an alternative way to go arround this problem.