This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
 
jQuery in Action, 2nd edition
 
subject: Refreshing JSP Page
 
Similar Threads
how to avoid blinking of page when it refreshes
use body onload refresh functionality only once
Time on JSP Page
Feild Level Validation without Refreshing
Acrtion Forward