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.
What i mean is, I have written an servlet, wherein i have made a request to get the data from OnDemand server which is an secured server (https), it works fine if i am connected to VPN (i.e. with proxy) and does not give the repsonse if i am not connected to VPN.