request.getRequestDispatcher("/index.jsp").forward()
和
final AsyncContext actx = request.startAsync();
actx.dispatch("/index.jsp");
请问,这两种有什么区别?
request.getRequestDispatcher("/index.jsp").forward()
和
final AsyncContext actx = request.startAsync();
actx.dispatch("/index.jsp");
请问,这两种有什么区别?
收起
微信扫一扫request的转发就不说了
AsyncContext的dispatch,自己看吧
http://book.2cto.com/201301/14823.html
微信扫一扫报告相同问题?