hi...
I'm trying to set up 2 beans. Header and Detail bean. these beans should be session beans. The header bean is working and I can set/get to it no problem. The problem is with the Detail (line items). I've never done this before, but I'm using an Arraylist and i can add to the arraylist with multiple parameters (prodId, prodPrice, etc.). I can also System.out.println the values in the same class through a "ListIterator" no problem, which display the results. I would like to be able to keep these value and go to other pages and display the values there too. How do I do this? The arraylist is not stored to the Detail bean, how do I do that? Am I going about this the correct way?
thanks
I'm trying to set up 2 beans. Header and Detail bean. these beans should be session beans. The header bean is working and I can set/get to it no problem. The problem is with the Detail (line items). I've never done this before, but I'm using an Arraylist and i can add to the arraylist with multiple parameters (prodId, prodPrice, etc.). I can also System.out.println the values in the same class through a "ListIterator" no problem, which display the results. I would like to be able to keep these value and go to other pages and display the values there too. How do I do this? The arraylist is not stored to the Detail bean, how do I do that? Am I going about this the correct way?
thanks