Also, remember that your ActionForm properties all should be strings, while your DTOs should be typed. You can use BeanUtils.copyProperties to do the conversion.
Say, does anyone have a dynamic AOP-style ActionFormProxy class that you could use to dynamically decorate a DTO? it would make ints, longs, etc. on the DTO look like Strings at the ActionForm layer, but you could get the DTO itself to pass to the business layer. Dates are a challenge, though, because of the variety of formats. -- Bill > Instead -- no. But you can use them as nested properties. > > On 8/8/05, Mick Knutson <[EMAIL PROTECTED]> wrote: >> I have many DTO's and do not want to duplicate code my creating >> ActionFOrms that are identical to my DTO's. Can I used the DTO's instead >> of ActionForms? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]