Re: Displaying intermediate results as they are generated

2011-01-25 Thread Paweł Wielgus
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 ele

Re: Displaying intermediate results as they are generated

2011-01-21 Thread John Lindal
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" wrote: Hi,

Re: Displaying intermediate results as they are generated

2011-01-21 Thread emil thushanga
Use Execute and wait interceptor , there you can show the progress of your processing in a wait page. as a example number of results found thanks emil On Fri, Jan 21, 2011 at 1:12 AM, Daniel Gerber wrote: > Hi, > I'm currently implementing a very simple web application with Struts2. It > bas

Re: Displaying intermediate results as they are generated

2011-01-21 Thread Johannes Geppert
rt.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/Displaying-intermediate-results-as-they-are-generated-tp30726874p30727106.html Sent from the Struts - Dev mailing list archive at Nabble.com. ---

Displaying intermediate results as they are generated

2011-01-21 Thread Daniel Gerber
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