This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a servlet that receives a request from a user. The servlet then interacts with an external web on behalf the user. I would like the servlet to return at some point the current webpage and its cookies to the user so that she can continue using the external web from her browser.
sendRedirect isn't an option because the user loses the cookies, and because I don't want the browser makes a request, just show the same page that the servlet had.