Hi,
I have a formbean in that one getter methode returns an Object of type "PropertyVO", which in turn contains a Collection of Objects of type "PropertyAttributeVO" with a pair of values.
How can i display the values in jsp..
In clear
form1 extends ActionForm{
private PropertyVO pVO;
private Strng address;
void setPVO(PropertyVO pVO){this.pVO=pVO;}
PropertyVO getPVO(){ return pVO};
.....
....
}
class PropertyVO{
private Collection p;
void setPropertyAttributes(Collection p){}
Collection getPropertyAttributes(){}
}
Here Colleciton p is collection of PropertyAttributeVO objects.
Class PropertyAttributeVO{
setAttributeName()
getAttributeName();
setAttributeVal();
getAttributeVal();
}
}
Now I am populateing the form bean to a jsp page.. how can i display the attribute name and its value in the page..
Thanx in advance:(
MaRu.
Discussions
Web tier: servlets, JSP, Web frameworks: How to populate an Object with Collection of Objects to jsp???
-
How to populate an Object with Collection of Objects to jsp??? (0 messages)
- Posted by: Maruthi Ram
- Posted on: May 05 2004 07:29 EDT