Results 1 to 3 of 3
  1. #1
    akshaydusane is offline Member
    Join Date
    May 2012
    Posts
    22
    Rep Power
    0

    Default 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 ...

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    757
    Rep Power
    8

    Default 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)

  3. #3
    akshaydusane is offline Member
    Join Date
    May 2012
    Posts
    22
    Rep Power
    0

    Default 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

  1. Activity Manager 0.4.1
    By java software in forum Java Software
    Replies: 0
    Last Post: 04-04-2012, 05:57 PM
  2. Application & Software Project Manager
    By laszlo.spiller in forum Jobs Offered
    Replies: 0
    Last Post: 12-03-2010, 03:11 PM
  3. How do i create an installable website bookmark?
    By amzypop in forum New To Java
    Replies: 1
    Last Post: 04-16-2010, 08:58 PM
  4. getting running application from task manager
    By gayathri_g in forum Threads and Synchronization
    Replies: 3
    Last Post: 09-26-2009, 06:43 PM
  5. firefox3 add bookmark using java
    By krishsaravanaa in forum Java Applets
    Replies: 3
    Last Post: 03-13-2009, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •