In my application we have a customized interceptor stack. It acts as a default interceptor stack. This stack doesnt have validation and workflow attached with it. Now for a specific action class we need to use validate() method.
So we created a new interceptor stack with validation and work flow interceptor.
But still default interceptor alone getting called, the new one is not getting called. Can someone please help me?
whatever interceptors are included in to your interceptors stack those only going to execute, post your interceptors stack how you declared.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Joined: Apr 17, 2010
Please find my interceptor stack configuration along with action classes below.
The problem which I am facing is in Test class validate method is not getting called, If I add the validation and workflow interceptor to AppStack it works fine but I cant do that because it affects already existing classes