Hi,

this is question on best practice. It is: is it ok too let one Struts
Action handle two different forms?

For example:
Assume an Action called RegistrationAction. Its intention is to use it
for user registration.

The first form is a set of three properties for the registration itself;
the second one is a set of two properites containing an activation key
and the users mail address.

I am asking because it seems that validation is only allowed for one
set of properties. This indicates I should create two actions:

RegistrationAction
ActivationAction

But it seems a bit overloaded for only two methods.

Cheers,
Christian

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

Reply via email to