struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <navjo...@net4india.net>
Subject [OT: BeanUtils] Copy Map to Bean containing nested beans
Date Wed, 11 Jun 2003 11:19:39 GMT
Hi,

I have this object conversion problem.

Say I have 2 classes

Person
- String name
- String age
- Address addr

Address
- String street
- Strinc city

I have Map that has following keys
name
age
addr.street
addr.city

Can we fill my Person object from Map? 

Any help is appreciated.
---------------
regards
Navjot Singh


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message