Results 1 to 3 of 3
Thread: bookmark manager application
- 05-11-2012, 08:05 AM #1
Member
- Join Date
- May 2012
- Posts
- 22
- Rep Power
- 0
bookmark manager application
Hello...
I want to design an application in netbeans that will save a webpage..
So please guide me how to write the code for saving a webpage??
Means I will paste a URL in the textbox and by clicking "save" button the page should be saved in some folder...
please help me ...
- 05-11-2012, 09:01 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
Re: bookmark manager application
You can start by exploring the java.net.URL class. Using this class you can create a URL object that point to the website URL that you want to save. You can then use a Reader object such as BufferedReader to read to the data from an input stream produced by the URL object. And then you can write the data you read into file.
Here is a link to the tutorial Lesson: Working with URLs (The Java™ Tutorials > Custom Networking)Website: Learn Java by Examples
- 05-11-2012, 12:37 PM #3
Member
- Join Date
- May 2012
- Posts
- 22
- Rep Power
- 0
Re: bookmark manager application
Thank you for providing the link its good..
I learnt how to create then connect to URL..
I want to learn further that
how can I open a website using default browser?
then how to "save" that website in a folder as we are doing "file-->save page as" in our browsers..
I want do this from my application...
Similar Threads
-
Activity Manager 0.4.1
By java software in forum Java SoftwareReplies: 0Last Post: 04-04-2012, 05:57 PM -
Application & Software Project Manager
By laszlo.spiller in forum Jobs OfferedReplies: 0Last Post: 12-03-2010, 03:11 PM -
How do i create an installable website bookmark?
By amzypop in forum New To JavaReplies: 1Last Post: 04-16-2010, 08:58 PM -
getting running application from task manager
By gayathri_g in forum Threads and SynchronizationReplies: 3Last Post: 09-26-2009, 06:43 PM -
firefox3 add bookmark using java
By krishsaravanaa in forum Java AppletsReplies: 3Last Post: 03-13-2009, 05:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks