| Author |
automatic refresh of a jsp page
|
Makhana Jiggu
Greenhorn
Joined: Nov 09, 2005
Posts: 11
|
|
|
I have to query the database for every 5 minutes to check for any new records. If records are found, then it has to automatically refresh the home page(this is jsp page) displaying a page to the user that new record has been created. How can i achieve this? Any suggesstions please
|
Jiggu
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3652
|
|
|
Use HTML Meta refresh tags, this isn't really a JSP feature either.
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
Raymond Villeno
Ranch Hand
Joined: Jun 21, 2005
Posts: 63
|
|
Yup i agree use Meta tags/pragma controls if you want or you could also use javascript for page refresh, but hey the simpler the better Cheers!
|
"Work Smart Not Hard"
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
"Buff" - Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. User names cannot be obviously fake and must constist of a first name and a last name. You can change your user name here. Thanks! and welcome to the JavaRanch!
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: automatic refresh of a jsp page
|
|
|