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:

how to connect a url(java.net.url) while using proxy setting?

Posted by aminur on September 27, 2001 at 3:02 AM

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



Replies:
  • Proxy Brad January 29, 2002 at 4:29 PM (0)
  • reply Vasu December 21, 2001 at 2:37 AM (0)
  • Using proxy Peter Jechev December 12, 2001 at 11:45 AM (0)

Sponsored Links



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