Hi,

I've just read this
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns
/html/DesPageController.asp) MVC overview. They describe the view as
obtaining its data directly from the model. I was under the impression that
the view should obtain / update data only through the controller and should
never directly access the model.

Unless I'm mistaken, this is how struts works. The controller (action)
retrieves data from the model (eg. EJBs) and populates the action form. The
view then just obtains data from the action form.

I guess my question is: is the action form considered part of the model? If
not, what?

Thanks,
Kent


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

Reply via email to