Link to home
Start Free TrialLog in
Avatar of Margin_Walker
Margin_Walker

asked on

auto refresh

I have a server client type system running and i need a way to automatically refresh a jsp page so that new orders from clients will appear on the server page.  Is this possible with jsp?
Thanks
Margin_Walker
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Try add meta tag like:

<META HTTP-EQUIV="REFRESH" Content="20">

where the page will auto-refresh on every 20 seconds.

cheers

ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Margin_Walker
Margin_Walker

ASKER

Thats brilliant it works perfectly. Thanks.  But can you just explain to me what the if else block of code is doing.
The code above remove the page cache, so that each time you load this page, it will get the content from server, instead of from cache.

Hope this is clear. cheers
Thats great thanks.
Margin_Walker