Hi!

AFAIK, Struts does not impose an upper limit on how many forms you use. So if using many form classes fits with your own design principles (which IMO are outside of the scope of struts), then you should use this approach.

Or are you instead asking if having the same fields and methods duplicated in many classes is a good OO design?

Robert

m.harig wrote:
hi all

        i've started doing my project in struts . am using DispatchAction
class . i've a doubt . that is
           can i use separate forms for every page . for example for
login-page i've LoginForm. and for edit-user page i've EditUserForm and for
delete-user page i've DeleteUserForm

           in all my forms i've username,password,role fields.     is that
good to do with separate forms ?? please help me..



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to