Title: Message
I have an action chain that implements a three phase process - Update, Read, Render
 
I have two actions PhaseOneAction and PhaseTwoAction, and a JSP view
I have two interceptors SessionInterceptor and TransactionInteceptor.
 
I want to achieve one of the following nestings
 
SessionInterceptor.before()
    TransactionInterceptor.before()
        PhaseOneAction.execute()
    TransactionInterceptor.after()
    PhaseTwoAction.execute();
SessionInterceptor.after()
 
or
 
SessionInterceptor.before()
    TransactionInterceptor.before()
        PhaseOneAction.execute()
    TransactionInterceptor.after()
SessionInterceptor.after()
{note: I don't want a client redirect here}
SessionInterceptor.before()
    PhaseTwoAction.execute();
    ServletDispatcher.processPage();
SessionInterceptor.after()
 
however, currently I am only able to achieve
 
SessionInterceptor.before()
    TransactionInterceptor.before()
        PhaseOneAction.execute()
        PhaseTwoAction.execute();
        ServletDispatcher.processPage();
   
TransactionInterceptor.after()
SessionInterceptor.after()
 
I also would like to be able to specify that the action state is coppied from PhaseOneAction to PhaseTwoAction in the same way that the chaining process currently happens.
 
Anyone have any ideas ?
 
Cameron.

Reply via email to