Results 1 to 12 of 12
  1. #1
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default reload the url page using java program

    Hi,
    I am new to java programming please tell me how to reload the specified URL page using java program..


    Thanks
    Mukthyar

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default Re: reload the url page using java program

    The applet class has a showDocument method.

  3. #3
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default Re: reload the specific url page using java program

    Hi,
    While using my application i need to reload the specified URL(http://localhost:8080/iuerodner/)for every 15 to 20 sec,With out opening a other window.


    Please tell me the code for this
    Thanks in advance..

  4. #4
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default Re: reload the url page using java program

    Hi,
    I am new to java programming please tell me how to reloador refresh the specified URL(localhost:8080/)for every 15 sec,without opening other window page.

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default Re: reload the url page using java program

    how to reloador refresh
    Have you looked at the showDocument method's arguments? There are choices there.
    Have you tried any of them?

  6. #6
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default Re: reload the url page using java program

    Hi,
    Thank you for reply I looked at the showDocument method's arguments? this one showing only document(URL page),but my requirement is reload (url page) for every 15 sec automatically(with out showing page).... please tell me the code for this

  7. #7
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: reload the url page using java program

    Do you plan on doing your own work or do you just want someone to do it for you?

  8. #8
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default Re: reload the url page using java program

    I have written lot of code,but i halted at above requirement

  9. #9
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default Re: reload the url page using java program

    You can use the Timer class if you want to execute some code repeatedly.

  10. #10
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

    Default Re: reload the url page using java program

    yaa i done this using java.net.URL,it is used to connect url connection ....

  11. #11
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

    Default Re: reload the url page using java program

    Are you asking a question or have you solved your problem?

  12. #12
    Mukthyar is offline Member
    Join Date
    Nov 2011
    Posts
    8
    Rep Power
    0

Similar Threads

  1. how do i reload my program?
    By ytrewqc in forum New To Java
    Replies: 4
    Last Post: 11-05-2011, 01:39 PM
  2. Reload the page when any changes in the database
    By Kayal in forum Web Frameworks
    Replies: 0
    Last Post: 03-28-2009, 07:17 AM
  3. How to read a Web Page through java program
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-04-2008, 02:37 PM
  4. How to read a Web Page through java program
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 10-04-2007, 09:31 PM
  5. how to reload a jsp page
    By Heather in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-14-2007, 11:49 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
  •