On 4/30/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
I have seen some discussions on this forum regarding
action chaining.  Primarily, the advices are to think
through the business logic before making decision on
chaining actions.

What are the disadvantages of action chaining?  Why
action chaining is not a good practice?

http://wiki.apache.org/struts/ActionChaining

As noted in that page, ActionChaining is using Struts in a way which often works, but for which it was not specifically designed. It's possible that you might run into some odd situations where the assumption that a single HttpRequest results in only a single pass through the RequestProcessor causes something to go wrong.

I usually just refactor my app when I find myself wanting to use action chaining, but many people just do it and find that it works.

Joe

--
Joe Germuska
[EMAIL PROTECTED] * http://blog.germuska.com
"You really can't burn anything out by trying something new, and
even if you can burn it out, it can be fixed.  Try something new."
        -- Robert Moog

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to