This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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 Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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 package.

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

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: BeanUtil.copyProperties