According to this document, I understand a Request
could be dispatch forward to another servlet in one Asynchronous Servlet which also makes container to call complete()
and trigger another Servlet or JSP automatically.
But, what if I want to redirect the page under async Servlet? Should I call complete()
and response.redirect("")
both? do we have any example of redirection?
Thanks.