Hi, Wang Zeng:

I think what Ted said is one way to transfer ActionFrom data to the business
object.

And you can get a detailed description on other ways to transfer ActionForm
data
to the business object and pros and cons of each ways by reading charpter 5
of the
book <<Struts in Action>>.

Regards,
Yang


On 4/9/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote:
>
> hi,Ted
>       Do you mean in your solution that one bean is not only action form
> bean,but also a business object? Because it extends ActinForm and
> implement
> business object interface.
>
>
> 2006/4/6, Ted Husted [EMAIL PROTECTED]:
> >
> >  If the beans you want to "nest" are being passed to the business
> > logic (often *not* recommended), one solution would be to define
> > interfaces for the business logic beans (if they don't have them
> > already) and then have your ActionForm implement one or more of those
> > interfaces. To pass the ActionForm along, pass it under the business
> > logic interface.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

Reply via email to