File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: BeanUtil.copyProperties
It's not a secret anymore!