That is a commons "toy" :-) The Struts code-base has examples of usage in it though. The basics are quite easy:
BeanUtils.copyProperties(dstBean, srcBean); If both the source and destination are of the same time (or, at least, have the same signatures on their getters/setters) you may consider using: PropertyUtils.copyProperties(dstBean, srcBean); ... since it doesn't try to do any conversions. BeanUtils will. That's you "five-second 'all you need to know to get started using BeanUtils' tutorial" ;-) Vincent Stoessel wrote: > >> >> In the past, before using the copyProperties methods, I used a >> helper class to do the conversions which I liked, but using >> BeanUtils (and PropertyUtils) is much quicker. >> >> How do you suggest getting Dates in the proper format between >> form beans and model layer beans? >> >> Thanks, >> > > > Hi, where can I learn more about using BeanUtils in struts. I haven't > (knowingly) played that toy yet. > -- Eddie Bush -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>