hi I am just confused in one of the code given in
servlet specification 3.0
1.REQUEST to /url/A
FORWARD to /url/B
getRequestDispatcher("/url/B").forward(request,response)) ;
AsyncContext ac =request.startAsync();
ac.dispatch() <- This dispatches the request to original url /url/A as the startAsync is called on the original request only and the first request was for /url/A.
2. REQUEST to /url/A
FORWARD to /url/B
getRequestDispatcher("/url/B").forward(request,response)) ;
AsyncContext ac =request.startAsync(;
ac.dispatch() <- This dispatches the request to /url/B . can anybody please explain whether this will be not called on the original request and how deos it work.