Hi all,
one other option is to download result of these calculations in div by
ajax (every 5 seconds for example),
but there has to be some mechanism that will put this calculations
into session or something
so your user will always get access to them,
that way user can be assigned to many such elements.
But this is totaly out of struts topic.

Best greetings,
Paweł Wielgus.



2011/1/21 John Lindal <lind...@yahoo-inc.com>:
> If you don't limit yourself to what Struts can do, you could use either XHR 
> (polling for data) or iframes (there is a trick to receive data as it becomes 
> available, without polling).  It depends on how comfortable you are with 
> JavaScript.
>
> John
>
>
> On 1/21/11 1:12 AM, "Daniel Gerber" <daniel.ger...@me.com> wrote:
>
> Hi,
> I'm currently implementing a very simple web application with Struts2. It 
> basically works as follows: A user enters two keywords in the index.jsp page 
> and then, a rather complex algorithm (takes 15-30s to complete) gets started 
> with those two keywords as parameters and shows those results in a 
> showResults.jsp page. The thing is, that it's unacceptable for users to wait 
> this long without any change in the view. My question is now: due to the fact 
> that this algorithm generates viewable results after a view seconds, how is 
> it possible with Struts2 to display those results as they are produced.
>
> Cheers,
> Daniel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to