How to refresh a webpage automatically

How to refresh a webpage automatically,without using f5 key in key board

Questions by nuthana   answers by nuthana

Showing Answers 1 - 13 of 13 Answers

hemant

  • Mar 11th, 2006
 

A web page can be refreshed by using the following method of HttpServletResponse interface

 HttpServletResponse.setHeader("Refresh","3");

    

  Was this answer useful?  Yes

Nishi

  • Mar 31st, 2006
 

Without going to the programming aspect, We can refresh a web page by using Alt+d and then hit Enter key...

  Was this answer useful?  Yes

chandrakiran

  • Oct 20th, 2006
 

Hi you can also use ctrl + F5 to refresh the WebPage

  Was this answer useful?  Yes

John

  • Apr 12th, 2007
 

You can refresh a web page without using f5

Using Javascript code:

window.location.reload();

  Was this answer useful?  Yes

ggajanan

  • Jun 6th, 2010
 

Yes this above tag in your JSP code will auto reload the page itself after 4 seconds. Note: The quotes are avoided for obvious reason.

  Was this answer useful?  Yes

bondneoo

  • Jun 7th, 2010
 

This can only be done with JavaScript if it must be done by a command (as in with some sort of link, button, movement, etc.)

<meta http-equiv="refresh" content="3;url=http://my.com/page.htm">

Numerical value is the number of seconds before refeshing. This WILL refresh after 3 seconds, no matter what, with no control over this due to user interaction, etc.

Change to 0 for immediate or any higher value for a longer pause.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions