Home Blog 2008 08 12 Servlet-refresh-page Servlet refresh page

 
 

Share on Google+Share on Google+
Servlet refresh page
Posted on: April 3, 2006 at 12:00 AM
Advertisement
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

Advertisement

Related Tags for Servlet refresh page:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 3, 2006

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com