Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Saving HTML of a webpage  RSS feed

 
Arshad Masood
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing problem in saving the HTML of a webpage in my harddisk USING JAVA CODE. Can anyone give me the code stuff for
"SAVING THE SOURCE CODE OF A WEBPAGE IN THE COMPUTER DYNAMICALLY means without any click."

Thaks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Arshad.

Please be aware that you won't find anyone here that's going to do your work for you. JavaRanch is a great place to come to learn Java, but not to get your code written by someone else.

As a starter for this task, check out the java.net.URLConnection class, and come back here for help in writing your code.

bear
Forum Bartender
[ August 11, 2004: Message edited by: Bear Bibeault ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!