As you can see from the responses, you have a variety of options. Another option (I guess Niall forgot to mention) is to use your VO directly. Declare your VO as the form bean type, and Struts will use a BeanValidatorForm and wrap it with a WrapDynaBean. Really, though, you don't need to be aware of the underlying stuff to start using it. When the form is submitted, call the form bean's getInstance() to get your populated VO (requires the nightly build). Take note, though, that there are good reasons to limit a form bean to strings and boolean fields, so I'd suggest taking a look at both LazyDynaForms and FormDef.
Hubert On Tue, 9 Nov 2004 11:48:51 -0500, Patrick Beagan <[EMAIL PROTECTED]> wrote: > I have an application that uses struts - ejbs - hibernate. My value > objects used for hibernate have the exact members as my html forms. > Does anyone have > > Any suggestions to re-use these value objects? IE: It seems that I must > define an ActionForm for my struts layer, and have a plain value object > in my app server layer. I'd rather not duplicate. > > Thanks. > > Patrick > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]