The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Proxy

Posted by Brad on January 29, 2002 at 4:29 PM

> I want to write a programmes in Java which can connect a website and return data from the website( like its opening page, and its source eg. HTML code or Java script code of that site )...
> i can use:
> java.net.url myUrl = "www.mySite.com";
> But how to connect this site if i am using proxy setting.And again how to show the content of this site ?
> Thanks in advance
> Regards
> Aminur

See:
http://www.javaworld.com/javaworld/javatips/jw-javatip42.html
Your welcome.





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us