Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

Java Made Clear: Auto Page Refresh with Servlets setHeader()

$
0
0
Sometimes, user requires latest information on Cricket score or latest Share prices etc. where he is required to refresh the page, say by typing F5 key. To make user’s job easier, Servlet comes with setHeader("refresh", "5") method. With this method, the same Servlet is called for every 5 seconds once and displays the latest time. […]

Viewing all articles
Browse latest Browse all 505

Trending Articles