LookupDispatchAction error in JUnits

I have a problem .

Since my Action file extends BaseLookupDispatchAction, I see that when my Junit runs, the control does not go to the specefic methods in the Action file. Instaed it goes to the unspecified() method.

But, if I change my Action file to extend BaseDispatchACtion(), it works fine.

Is there a different way to invoke addRequestParameter() ?.
Can someone please suggest how I can get across this problem.
It will be greatly helpful!!! THis JUnit has been a nightmare!!!!


Please sign in to leave a comment.