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

 
 

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

Related Tags for Servlet refresh page:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.