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.
Hello, i am developing a servlet in which i have to read data from some other web application(at present this another web application is running on different machine, but on same LAN). To do that i establish httpUrlConnection. Following is the code
the code gives java.net.SocketException while opening the connection. I got even further confused when i added 126.96.36.199 in the list of "do not use proxy server for following ip addres" in Internet Explorer and my servlet started working correctly. what i am not able to understand is the relation between establishing Socket Connection from a servlet and IE. I am using window 2000. can any body help me.
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
thanks for the reply Ernest. Are we talking about IE running on the machine the servlet runs on yes thats correct in other words, the servlet is running on Windows? i mentioned in my post that I am using window 2000. [ February 04, 2004: Message edited by: Prakash Dwivedi ]
author and iconoclast
Yes, but using it for what? Are you talking about IE and the servlet running on the same physical machine, or are you talking about IE being used to access the servlet from a client machine? While I'm asking, what servlet container are you using?
Joined: Sep 28, 2002
I am running my web application through JDeveloper which is having embedded OC4J.