showing a looping in JSP with arrays

2002-05-20 Thread Richard Diaz
in my JSP page I get a NULL POINTER EXCEPTION... <%=MyBookmarkArray[1].getpk() %> I have verified there are 3 bookmarks created in my servlet they are session variables using: session.setAttribute("MyBookmarkArray[" + i + "]", MyBookmarkArray[i]); also I can see all my non array session variab

Re: showing a looping in JSP with arrays

2002-05-20 Thread Peter Dolukhanov
PROTECTED]] On Behalf Of Richard Diaz Sent: 20 May 2002 21:35 To: [EMAIL PROTECTED] Subject: showing a looping in JSP with arrays in my JSP page I get a NULL POINTER EXCEPTION... <%=MyBookmarkArray[1].getpk() %> I have verified there are 3 bookmarks created in my servlet they are session var

Re: showing a looping in JSP with arrays

2002-05-20 Thread Pete Freitag
: [EMAIL PROTECTED] Subject: Re: showing a looping in JSP with arrays You have to use session.getVariable to initialize the said variable on a different page. Also, can anyone verify that you can save arrays this way? Regards, Pete Dolukhanov -Original Message- From: A maili