I have a scenario where i need to call two remote action methods. Second method needs an input parameter which is the output of first method. Can i nest the second remote call into first one. Is there anything wrong in doing this ? Is there any better approach ?


1 Answer 1


Yes you can nest them. Your invocation of the second method should be in the callback of the first method. See this post:

Is it possible to execute remote functions in order?

Not the answer you're looking for? Browse other questions tagged or ask your own question.