Hi everyone,
Here is my code after I click place order.
//step 1, pre-process an order
order.PreProcess();//this step takes 1 second.
//step 2, send order to ERP;
order.SendToErp;//this step takes 15 seconds.
//step 3, display
JSP CallJsp();//this step takes 2 seconds.
As you can see, after I click the submit button, it will take me around 20 seconds to display the next page.
My question is: how to move step 2 into the background, so, step 3 don't need to wait the return of step 2.
thanks,
Michael
[ November 20, 2002: Message edited by: Michael Deng ]