On Mon, 23 Jul 2001, Ted Husted wrote:
> I would, yes.
>
> I use one Action class for all four CRUD operations on a table (or
> logical view), along with any special retrievals.
>
Are you mapping this to four different actions? if so, you've got four
instances of the Action class (even though it's all the same class, so
your source code maintanence load is lower).
One way to eliminate this small amount of overhead would be to try the
dispatch standard action (org.apache.struts.actions.DispatchAction). This
lets you (in effect) give a single Action class more than one
"perform" method, selected by a request parameter. This can be very
helpful in situations where different Actions logically fit together, like
CRUD maintenance transactions.
Craig McClanahan