Servlet refresh page


 

Servlet refresh page

Servlet refresh pages: In this example we'll discuss how one can refresh the page from setting the refresh attribute from a servlet.

Servlet refresh pages: In this example we'll discuss how one can refresh the page from setting the refresh attribute from a servlet.

Servlet refresh page

In this example we will show you how you can refresh your page from setting the refresh attribute from a servlet.
response.setHeader("Refresh", "10");

The refresh attribute will direct the browser to refresh the page after 10 seconds. In this will you can develop the application that refreshes automatically.

You don't have to write any page refresh code into HTML page.

Read more at http://www.roseindia.net/software-tutorials/detail/21712

Thanks

Ads