<snip> > So what happens is the Action looks like... > > //EmployeeAction > execute(...) or dispatchmethod() { > EmployeForm empForm = (EmployeeForm)form; > //validate form, if success proceed.. > boolean success = EmployeeActionHelper.updateEmployee( > empForm, request ); > //messages set up based on success or failure > }
Rick, I don't like it. :) Seriously, you've created a dependency on Struts in your business layer, and IMO, that's a big no-no. For my part, I do something similar, which I posted about yesterday-- I use DynaForms and cast my ActionForms to DynaBeans before passing to the business layer. This way, I have a dependency on BeanUtils in the business layer, but not on Struts. - Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]