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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]