On 4/17/07 10:20 AM, "nicolas de loof" <[EMAIL PROTECTED]> wrote:
> In struts2, AFAIK I can use any POJO as controler. Can I use my (maybe > adapted) RegistrationService as a Controller by simply changing to a > statefull model (user to register is not a method parameter anymore but a > bean property) ? This would make things really simplier ! Hi Nico, I guess you could do that, but I don't think I'd recommend it. It mixes up control (your action) with business services (your service bean). Personally I would keep them separate, and let each do what it is best at. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]