thanks a lot Craig for your information.
Craig what is your view on ActionForm as Model.
Is it a model?
kasi
----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
"Kashinath" <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 5:27 AM
Subject: Re: Model and Controller Components




On Mon, 10 Feb 2003, Kashinath wrote:

> Date: Mon, 10 Feb 2003 10:48:45 -0000
> From: Kashinath <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>      Kashinath <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Model and Controller Components
>
> Hi,
> In struts what are model components and what are controller components?
> ActionServlet is controller component but how Action is controller can any
one explain me?
> Again according to the documentation ActionForm is model component.

Precisely where do you see this (so we can fix it)?  ActionForm is a view
component, IMHO.

> How?
> Can any one componentise the model and controller components?
>

Actions should be controller components that delegate the actual
transactional logic to appropriate business objects, although for simple
applications it is often easier to just program your business logic
directly into the actions.

Struts doesn't have any model tier model per se; it will work with
whatever you like.

> Kasinath
> VisualSoft Technologies
>

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to