wood burning stoves 2.0*
The moose likes JSP and the fly likes Refreshing JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Refreshing JSP Page" Watch "Refreshing JSP Page" New topic
Author

Refreshing JSP Page

Vardan Gupta
Greenhorn

Joined: Jun 02, 2009
Posts: 11
Hello,

Problem I faced is that there are some variables which are going to be set in a thread at background but my JSP page has been loaded, i need to refresh page after 5 mins so that page reflect the new sessions variables without actually refreshing jsp page, please guide if ajax can help this ?
Haina Minawa
Ranch Hand

Joined: Oct 13, 2011
Posts: 119
Vardan Gupta wrote:Hello,

Problem I faced is that there are some variables which are going to be set in a thread at background but my JSP page has been loaded, i need to refresh page after 5 mins so that page reflect the new sessions variables without actually refreshing jsp page, please guide if ajax can help this ?


Yes, Ajax comes to rescue here. Take a look at JQuery.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Refreshing JSP Page
 
Similar Threads
use body onload refresh functionality only once
Time on JSP Page
Feild Level Validation without Refreshing
how to avoid blinking of page when it refreshes
Acrtion Forward