jay yu wrote:
right,i know what you mean now. first i have to use JSP, and second mostly i am just calling for testing purpose to see how long does it take to call 10K times, so actually i don't need to have the calculation but for the performance test i want to wait unti the calculation is done before calling another one that's all. am i making sense now??
Yes, it is possible. Convert the A.jsp page into a
servlet, says AServlet. The servlet must return a value. Run a for loop in a test app to invoke AServlet multiple times sequentially, make sure to check the response from AServlet for each invocation. If the servlet returns a valid response, run the next invocation.