wood burning stoves
The moose likes JSP and the fly likes Accessing vector-properties in a bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Accessing vector-properties in a bean" Watch "Accessing vector-properties in a bean" New topic

Accessing vector-properties in a bean

Daniel Zuckermann
Ranch Hand

Joined: May 14, 2012
Posts: 50
I have a bean that contains a Vector that is filled with some other objects. How can I access the properties of those other objects?

I can access a Vector item that way but I don't know how to access the object properties in the vector. I thought could work, but it doesn't.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548


Vector? Use a List.

Then if things are as you describe, it should.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Accessing vector-properties in a bean
jQuery in Action, 3rd edition