> Hi,
>
> I'm developing a web app and using struts for my view and controller.
> I'm new to J2EE and was wondering if it's considered appropriate to
> pass my action forms on to my model layer. Form beans in struts I
> think are considered part of my view.
You are correct, beans that extend ActionForm are part of the view. The
model should have no knowledge of these, so it's not (IMO) a good idea
to pass form beans to the model. Your saving grace in struts is going to
be the action classes, as you can use these to take the properties of
your form beans and pass massage them into the form your model needs.
This is my understanding of the 'C' in MVC pattern - you control the
interaction between the model and the view. I stand to be corrected,
however, as I'm an MVC n00b meself.
Tiff

Signature
Chris M Soanes: Sailor, Windsurfer, Cyclist, Biker, Snowboarder,
Swimmer, Dog Owner, and above all, Geek.