Java Link

See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder
Java - General » Beans » Getting List Values From Bean

213 Views
  2 Replies

0
Vote Vote
Getting List Values From Bean
Share  
 Type: Professional, Report if fun topic
Rahul
Rahul Picture
10 Posts
back to top
Posted 11-08-2009Reply

Hi Everybody.

I hav a Bean in which list is one of the property.

I set the values of the List thr' setter method, the values are set properly.

But when I retrieve values thr' getter method only last value is retrieved, but still List size is proper only last value is repeated throughout.

Thanks in advance!

Tauseef
Tauseef Picture
2 Posts
back to top
  Rated 0 | Posted 11-08-2009

hii Rahul

u use the Arraylist then i think u solve that problem.

Rahul
Rahul Picture
10 Posts
back to top
  Rated 0 | Posted 12-08-2009

hii Rahul



u use the Arraylist then ... See Tauseef's complete reply


Hi Tauseef,
I used List reference, which uses ArrayList Object.

0
Vote Vote
Share  
 Type: Professional, please report if fun topic

Recent Activity in Forums

05-04-2012.
05-04-2012.
Kanchana posted a new forum topic in
27-02-2012.
11-02-2012.
Kanchana posted a new forum topic in
11-02-2012.