Results 1 to 5 of 5
  1. #1
    aneesahamedaa is offline Member
    Join Date
    Jul 2008
    Posts
    26
    Rep Power
    0

    Default How to run a code when a download is finished

    Hi all,
    I wonder whether I can run a code in java, once a download is finished.
    I will mention the purpose also -- I will have an xml downloaded to a local drive in my system. At the moment the xml download is completed, I want to run a java code. The purpose of that code will be taking the values from the xml and updating into database.

    So, the only thing I would like to know is, how I will run a code at the moment I finishes a download(Please help with an example taking the case of downloading something on to the desktop or any drive and at the moment download finishes, run some sample code ).

  2. #2
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    One thread isn't enough?

  3. #3
    aneesahamedaa is offline Member
    Join Date
    Jul 2008
    Posts
    26
    Rep Power
    0

    Default

    Then I should say, One forum is more than enough!

  4. #4
    linux0kernel is offline Member
    Join Date
    Oct 2008
    Posts
    19
    Rep Power
    0

    Default

    you must be use the jnlp,
    please search "jnlp" keywords to the google

  5. #5
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    Quote Originally Posted by aneesahamedaa View Post
    Then I should say, One forum is more than enough!
    Yes, you're absolutely right. It makes perfect sense.</sarcasm>

    You don't realize that posting the exact same question on different forums will frustrate people that spend a lot of time helping you with a problem, only to find out the solution has already been posted elsewhere?

    The only thing this will accomplish is making people ignore future questions.

Similar Threads

  1. Download JDK 1.5
    By Nick15 in forum New To Java
    Replies: 4
    Last Post: 01-01-2009, 03:10 AM
  2. What jdk do I download?
    By padutch2 in forum New To Java
    Replies: 3
    Last Post: 11-29-2007, 04:28 AM
  3. how to download using java
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 05:36 PM
  4. Track download
    By nilesh.malode in forum Advanced Java
    Replies: 1
    Last Post: 07-13-2007, 09:44 PM
  5. I could download JDK 1.5
    By Albert in forum New To Java
    Replies: 2
    Last Post: 07-13-2007, 03: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
  •