A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Accessing vector-properties in a bean
Joined: May 14, 2012
Jun 19, 2012 12:21:02
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.
Author and ninkuma
Joined: Jan 10, 2002
Jun 19, 2012 13:04:22
Vector? Use a List.
Then if things are as you describe, it should.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: Accessing vector-properties in a bean
A question about Request Vs Session
JSF, bean and vector
How to iterate vector of vector objects ?
questions of struts
problem with struts2...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014