By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,738 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,738 IT Pros & Developers. It's quick & easy.

copying a web site to a text file in java?

P: n/a
hello to all,
please anyone tell me how can i copy the contents of a web site to a
text file in java.

thank you in advance,
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Check out the URL and URLConnection classes in, you use them
to open a connection to a web-site and can then open an input-stream
to read the contents.

If you want to examine a web-site programatically (e.g. extract
tables, submit forms, etc) have a look at HttpUnit.

- sarge
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.