File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Proxy confirmation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Proxy confirmation" Watch "Proxy confirmation" New topic

Proxy confirmation

Ganapathi Srinivasan

Joined: Jan 17, 2003
Posts: 11
I have a problem wherein I am connecting to a web server thru proxy (thats what I assume!). In my java code, I set the following System properties:

But when i open a URL connection is there any way for me to find out thru java code as to whether I am indeed hitting the proxy or not?
Any inputs?
Thanks in advance
I agree. Here's the link:
subject: Proxy confirmation
It's not a secret anymore!