how to refresh my web page automatically ?

how to refresh my web page automatically ? how to implement this in servlet ?

  • Rabi
  • 23 Jul 2018
  • 763 Views
  • 1 Answer
Your Answer

The simplest way of refreshing a web page is using method setIntHeader() of response object
Signature of this method is as follows : -
      public void setIntHeader(String header, int headerValue)
This method sends back header "Refresh" to the browser along with an integer value which indicates time interval in seconds.

Advance Java

Didn't get the answer.
Contact people of Talent-Advance Java directly by clicking here