Please UNSUBSCRIBE me.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
Craig,
I was wondering how your idea would work if I'm setting some properties in a
Class and then adding the object to the vector.
Something like,
Vector v = new Vector();
while(resultset.next())
{
MyClass cls = new MyClass();
cls.setName(resultSet.getString("nameColumn"));
v.addElement(cls);
}
How would the bean element holding a vector of String objects be type casted
to a String Object.
Snippet :
%
Vector v = new Vector();
v.addElement(new String("John Doe"));
v.addElement(new String("Jane Doe"));
pageContext.setAttribute("v",v,