wood burning stoves 2.0*
The moose likes Struts and the fly likes BeanUtil.copyProperties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "BeanUtil.copyProperties" Watch "BeanUtil.copyProperties" New topic


PoojaC gupta

Joined: Oct 04, 2005
Posts: 1

Urgent help needed.

I have a Value Object(VO) say AddressVO containing an array of TelephoneVO in com.abc.test package.

I need to populate the AddressVO in com.xyx.test package from the co.abc.test.AddressVO.

I am not sure how to use BeanUtils.copyProperties to populate the telephoneVO[] in it.

VO structure in both the packages:

public class AddressVO{
private TelephoneVO[] phone;
//getter + setter methods

Has someone dealt with this kind of scenario. If yes, please help me on this.
I agree. Here's the link: http://aspose.com/file-tools
subject: BeanUtil.copyProperties