asked in JSP by (58.6k points)

1 Answer

The simplest way of refreshing a Webpage is using method setIntHeader() of response object. Following is the signature of this method −

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.

answered by (58.6k points)

Java Interview Questions and Answers 2018