Take a look at the Execute and Wait Interceptor.

http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html


Johannes


Daniel Gerber 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
> 


-----
---
web: http://www.jgeppert.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.


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

Reply via email to