----- Original Message ----- From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 5:18 PM Subject: RE: A couple of questions
Because so much of what you're doing in processing the parameters is boilerplate. Why not let the framework put it into an object for you? Then you can use the BeanUtils class to move it itno the VO directly. In much of my code I do: BeanUtils.copyProperties( dataVo, dataForm); and I'm done. Your way would require a lot more code. This is a good reason, for applications with long forms. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]