This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am writing a servlet that needs to interact with a servlet on a remote server. When my servlet sends request to the remote servlet that remote servlet will process the parameters and decide which web page (there are 2 web pages available) to display. My problem is that I need to know which web page is displayed so that my web application can process accordingly. How can I know which web page the remote servlet is redirecting me to?