You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Rothfield <jo...@sfhypnosis.com> on 2002/08/06 00:51:35 UTC

multiple action classes per use case?

I have a use case, say edit customer that has a number of steps in it.
Should I have one action class for the use case or multiple action classes,
one for each step? In the past I've used a single class in this situation
with a switch.
Anybody know the best practice?

To put it another way, I have a form with multiple submit buttons that do
different things. Should I create a new action path in struts.config and a
new action class for each button?

John



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>