aspose file tools*
The moose likes JSP and the fly likes automatic refresh of a  jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "automatic refresh of a  jsp page" Watch "automatic refresh of a  jsp page" New topic
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: 3697
    
    5

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
 
Similar Threads
jsp and refreshing previous page
New row adds to output on page refresh
Refresh jsp page
problem with session and refresh button
Spring DAO Session refresh