I have a page which sends two different ajax request to the controller
one after the other. However, the second request doesn’t gets
processed unless the controller finishes with the first request, i.e.
to say the response of the first request is not delivered.
I have checked in firebug that both the requests are sent but , only
when the response from first is received the second request is
Is it supposed to be like this? I think there’s something wrong. What
I suspect is that the thread gets locked unless the first request is
completed and hence the second request is queued till that time.
I am calling two different methods on the same underlying model
objects in these two requests.
If this is a correct behavior can anyone please tell how to let the
two threads access the object at the same time.
I have not synchronized or made any thread safe model objects.