avoiding redefinition of session scoped object
Posted on 2004-04-26
I'm not sure how to define an object with session scope the first time a page is viewed and ensure that the same in scope object can be displayed on the same page again after data has been loaded into it..
Below is how I'm defining the object (you can see by the comments I';m not sure what I'm doing.
//ArrayList arrVirtOrderedProducts = new ArrayList();
ArrayList arrVirtOrderedProducts = (ArrayList) request.getSession().getAttribute("arrVirtOrderedProducts");
thanks for all of your help