Hi guys,
I'm at it again, probably doing it the wrong way. The following code works great;
It lists an ArrayList that's generated by a bean. Great. Later, I wanted to pick off the first object in that ArrayList so I repeated the same code and I keep getting null stuff. I tried tsSale.get(0).object.getUname() without success. I tried putting the ArrayList into a session bean object. Nope.
Two questions:
1. Can you put an ArrayList into a session bean?
2. Can one bean create instances/objects of another session bean that can be accessed throughout the session?
3. Should I be using Struts?
Thanks.
Chris
I'm at it again, probably doing it the wrong way. The following code works great;
It lists an ArrayList that's generated by a bean. Great. Later, I wanted to pick off the first object in that ArrayList so I repeated the same code and I keep getting null stuff. I tried tsSale.get(0).object.getUname() without success. I tried putting the ArrayList into a session bean object. Nope.
Two questions:
1. Can you put an ArrayList into a session bean?
2. Can one bean create instances/objects of another session bean that can be accessed throughout the session?
3. Should I be using Struts?
Thanks.
Chris