How to get some data in html file cross network
0 posts in topic
Flat View  Flat View

Posted By:   Helena_Zhang
Posted On:   Monday, April 23, 2001 11:05 AM

Hi Gurus,
I wrote a program using

URL url=null;
URLConnection conn = null;
conn = url.openConnection();
DataInputStream theHTML = new DataInputStream(conn.getInputStream());

But I only got the file when I stay inside the filewall of my company. I can not get the file from the public web side like Yahoo. What I got is the java.net.SocketException.

Could you tell me why and how to get some html file cross network.


About | Sitemap | Contact