Hi,all:
I want to read a internet
page(e:http://www.microsoft.com/) and put the page to a file(e:
c:/temp.txt).
How to do ?
Thanks very much!
cgreen
This has virtually nothing to do with Orion.
However, you can do this in a LOT of ways: "Save As" from your browser,
you can use various mirroring tools, you could even use a URLConnection
from java.net.* and use one of the java.io classes to write it to your
local filesystem... as well as a
hello,
here
is the code to get http page.
you
can write it were you want !
best
regards
//create url
objectInputStream
l_urlStream; URL l_url = new
URL(p_sUrl);
//get
a connctionHttpURLConnection
l_connection = (HttpURLConnection)
l_url.openConnection();
l_connection.connect();