File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Refreshing JSP Page