struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Darimont <Thomas.Darim...@web.de>
Subject Re: [Transfer data from Form to business bean]
Date Thu, 16 Mar 2006 09:31:24 GMT
Hi,

you could use the BeanUtils.copyProperties(...) http://jakarta.apache.org/commons/beanutils/
Methods to copy values from FormBean attributes
into BOs attributes. (In order to do this, the attribute names have to correspond of course)

Kind regards,
Thomas
> -----Urspr√ľngliche Nachricht-----
> Von: "Struts Users Mailing List" <user@struts.apache.org>
> Gesendet: 16.03.06 10:08:14
> An: Struts Users Mailing List <user@struts.apache.org>
> Betreff: [Transfer data from Form to business bean]


> hi all
> 
> can anybody tell me which is the best way to transfer data from a form 
> bean to business object?
> 
> A formbean can be used as business object?
> If no, what is the other way to transfer the data easily from a form to 
> business object
> 
> THanks
> 
> -- 
> Regards,
> Deva.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



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


Mime
View raw message