On Tue, Oct 26, 2010 at 4:32 AM, Li Ying wrote: > I think this is a better design, because the data modal is more > compliant with OO principles.
Better than what? (And as an aside, there's nothing particularly OO about what's essentially a struct, although from a pragmatic viewpoint, particularly when doing data transfer, sometimes such constructs seem reasonable. See http://c2.com/cgi/wiki?DumbDataObject for a brief discussion.) Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org