You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Terry Gardner <Te...@Sun.COM> on 2009/10/12 12:29:23 UTC
Re: action class is a part of controller or model; and what about
formBean
Broadly speaking, the Controller is the filter, the Model is the
action, and the result leads to the View.
On Oct 12, 2009, at 5:58 AM, Arindam Rajbanshi wrote:
> i am doing struts 1.2 . Please tell me action is a part of
> controller or
> model.
> and formbean is a part of controller or model. even in the apache
> document
> http://struts.apache.org/1.x/userGuide/index.html
> tehy mentionde bormbean in Building Model Components and Building
> Controller Components in two places and action in Building Controller
> Components
> please clear my doubt.
--
Terry.Gardner@Sun.COM
Blog: http://ff1959.wordpress.com
http://www.directory-server.org
Mobile: 404 925 6385
Re: action class is a part of controller or model; and what about
formBean
Posted by Gregor Marinšek <gm...@tis.si>.
Well i would say, tha action implementation (action class) is the
controller, formBean is in one way the interface between view and
controller and model is implementation of some third part (f.e.
hibernate)... Thats my view of the 'story'. If i'm wrong, please
correct me.
Gregor
Arindam Rajbanshi wrote:
> ya, i understand, but action class is a part of controller or model.
> and formBean is a part of model or controller.
>
> On Mon, Oct 12, 2009 at 3:59 PM, Terry Gardner <Te...@sun.com>wrote:
>
>
>> Broadly speaking, the Controller is the filter, the Model is the action,
>> and the result leads to the View.
>>
>>
>> On Oct 12, 2009, at 5:58 AM, Arindam Rajbanshi wrote:
>>
>> i am doing struts 1.2 . Please tell me action is a part of controller or
>>
>>> model.
>>> and formbean is a part of controller or model. even in the apache document
>>> http://struts.apache.org/1.x/userGuide/index.html
>>> tehy mentionde bormbean in Building Model Components and Building
>>> Controller Components in two places and action in Building Controller
>>> Components
>>> please clear my doubt.
>>>
>>>
>> --
>> Terry.Gardner@Sun.COM
>> Blog: http://ff1959.wordpress.com
>> http://www.directory-server.org
>> Mobile: 404 925 6385
>>
>>
>>
>
>
--
Gregor Marinšek
TIS d.o.o.
Ljubljanska 9, Maribor
e-mail: gmarinsek@tis.si
http://www.tis.si
GSM: (+386) 040 730 015
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: action class is a part of controller or model; and what about
formBean
Posted by Arindam Rajbanshi <ar...@gmail.com>.
ya, i understand, but action class is a part of controller or model.
and formBean is a part of model or controller.
On Mon, Oct 12, 2009 at 3:59 PM, Terry Gardner <Te...@sun.com>wrote:
> Broadly speaking, the Controller is the filter, the Model is the action,
> and the result leads to the View.
>
>
> On Oct 12, 2009, at 5:58 AM, Arindam Rajbanshi wrote:
>
> i am doing struts 1.2 . Please tell me action is a part of controller or
>> model.
>> and formbean is a part of controller or model. even in the apache document
>> http://struts.apache.org/1.x/userGuide/index.html
>> tehy mentionde bormbean in Building Model Components and Building
>> Controller Components in two places and action in Building Controller
>> Components
>> please clear my doubt.
>>
>
> --
> Terry.Gardner@Sun.COM
> Blog: http://ff1959.wordpress.com
> http://www.directory-server.org
> Mobile: 404 925 6385
>
>