On 9/27/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Carlos de la Flor Egiluz wrote: > > hello y have one java object like this (the object name is adressesObj: > > String name > > String surname > > List list = new ArrayList() > > set/get methods.... > > well into the list (arrayList) there are several elements, objects, that > > are like the same object (adressesObj)... and eah obj has severeal > > objs.......... > > there is any method, using struts, for, recursively, to load the obj > > values, the name for all addressesObj? > > or using jstl? > > can anybody helps me? > > thanks > > I'm not sure I understand your question... Are you trying to initialize > your addressObj object with data from somewhere (like a database)? Or > trying to populate it with data submitted in an HTTP request (from a > form, for example)? > > Either way I think the answer is that Struts doesn't know anything about > your data structure and therefore can't automatically manage it for you. > Perhaps you can explain what you want to do in a bit more detail.
I guess he has a tree of addresses and wants to display addresses for a parent address (and to update them from a page too?). Well Carlos, I guess you can use "iterate" tag for display along with some scriptlet, but I am not sure that you can update an object tree from a page... Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]