Hi Greg:

Many people have written about this, so maybe you have a solution implemented
already. But in case you haven't, take a look at the January issue of Java Pro
under "Send Users a Browser Message". There's code and a hand-holding
discussion there which is eminently satisfactory!

Geeta

Mark Priatel wrote:

> >Question: Can I implement a "blocking" method on the servlet so it can
> >wait for an indeterminate period before calling a method to write the
> results
> >to the web-client? eg. using a producer/consumer/cubbyhole paradigm?
>
> What about making the returned page a frameset with an invisible frame that
> periodically checks to see if the process is finished.  When it's finished
> you can then have some client-side javascript inform the 'browsing' frame
> that the process is finished...give it a new location which would point to
> some sort of 'your query has been processed page...'.  Of course, if they
> leave the site by typing in an URL you will lose them..
>
> -mark
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to