struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Witbeck, Shane" <>
Subject DispatchAction role
Date Fri, 18 Jul 2003 13:22:00 GMT
Is there any disadvantage of to letting a DispatchAction handle both the
setup and submission of a form something like the following:

DispatchAction contains the following methods:

1. init() - sets up the form with initial values for select lists, etc.
2. submitForm() - handles the validation and data associated with the
completed form setup above and forwards to another DispatchAction's init()

This is a re-post but since no one responded I made my post a little more
concise this time.

Any suggestions or opinions on this is much appreciated.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message