David,

  Comments inline:

--- "David G. Friedman" <[EMAIL PROTECTED]> wrote:

> Julian,
> 
> If you just need to invoke a chain, you can make
> your action be
> "org.apache.struts.chain.legacy.ChainAction".  

 Great thanks

>If
> you need some actions to
> do chain "A" and some to do chain "B" THEN do
> execute other logic in the
> action, subclassing ChainAction might be the best
> course.  Your subclass
> could have an execute() which calls super.execute(),
> then calls your own
> Java statements.

 Invoking different chains based on Action code is not
what I had in mind.  I think maybe I did not explain
myself well enough.  If I needed some actions to do
chain "A" and some to do chain "B", why would I not do
the following?

<action path="/myactionA"
type="org.apache.struts.chain.legacy.ChainAction"
name="myform" scope="request" input="/mypage.jsp"
parameter="chainA" action path="/myaction">

<action path="/myactionB"
type="org.apache.struts.chain.legacy.ChainAction"
name="myform" scope="request" input="/mypage.jsp"
parameter="chainB" action path="/myaction">

I think we are on the same page and this is how one
would do this.  Correct me if I am wrong, but it seems
the wonders of email have distorted the conversation
;)

Thanks,
Julian

=====
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily" 
 
-William of Occam




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to