This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
If I want to get the url of the page from where the servlet is called, which method should I use? If I use getRequestURL() , it gives the url of the web page I am browsing currently. But I need the previous page url. I want to know from which page the conytrol comes from. Please help. Thanks.