aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "BeanUtil.copyProperties" Watch "BeanUtil.copyProperties" New topic
Author

BeanUtil.copyProperties

PoojaC gupta
Greenhorn

Joined: Oct 04, 2005
Posts: 1
Hi,

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.
 
 
subject: BeanUtil.copyProperties
 
Similar Threads
Part II - Composite Entity Beans
Alternatives to Struts tags ???
form bean is not getting updated upon submit in jsp
Object creation using dynamic values stored in local variables
Error in executing Spring Query