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.

Ads

Tutorials   
 
 

Share on Google+Share on Google+

Servlet refresh page

Ads

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

Advertisements

Posted on: April 3, 2006 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Related Tutorials