dimanche 2 août 2015

how to redirect in Asynchronous Servlet?

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

Aucun commentaire:

Enregistrer un commentaire