The Artima Developer Community
Sponsored Link

Java Answers Forum
JSP refresh

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
gabri

Posts: 9
Nickname: gabri
Registered: Jan, 2004

JSP refresh Posted: Jun 6, 2006 8:37 PM
Reply to this message Reply
Advertisement
Hi,
I have a jsp/servlets general question which i haven't been able to sort out. I would be grateful for any help. I would like my functionality to be as: start a task, every so often query the status and display it, when results are ready stop.
My java code is an infinite loop which breaks when everything is done and otherwise just keeps checking the status of the task and sleeping a short time.
Firstly, would it be possible to control the refresh of a JSP page (that incorporates this code) asynchronously? I could not find that so instead i was trying to set:
<META http-equiv="refresh" content="1">
Doing so, I don't know how to resend the status information already gathered to the newly refreshing page so that i get the accumulated status information at every refresh.
Thank you in advance for any help,
Regards,
Gabriela

Topic: Colour picker, MouseDown(Event, int x, int y) Depreciation Help! Previous Topic   Next Topic Topic: Object File Input/Array problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use