Re: Displaying intermediate results as they are generated
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
Volunteers page
Currently, there are two different versions: http://struts.apache.org/volunteers.html http://struts.apache.org/dev/volunteers.html The first one is clearly out of date, because the second one matches what is in subversion. Should I add a redirect in .htaccess to point /volunteers.html to /dev/volunteers.html? Also, is there a process for updating /dev/volunteers.html? Or do I just do it manually, from the results of mvn site? Thanks, John
Re: Volunteers page
Hmm. The first one is very old (last published 15 Nov 2009), and at least after a quick look, appears to have no counterpart in Subversion any more, so it is quite probably an orphan page left over on the web server from a site re-org some time ago. How did you reach it? Unless we have incoming links to it from pages that are part of the site in Subversion, I'd say we should simply delete that page on the web server. With regard to updating volunteers.xml, as chair I generally add and remove people as they come and go. I've been remiss in doing so recently, though (as Maurizio and you have both noticed - sorry). The corresponding .html files are generated by the Maven site build. I'm not sure what our current status is for that site getting deployed by Maven, but it can be done by uploading and exploding the output from the build, if that's not working. -- Martin Cooper On Tue, Jan 25, 2011 at 10:58 AM, John Lindal lind...@yahoo-inc.com wrote: Currently, there are two different versions: http://struts.apache.org/volunteers.html http://struts.apache.org/dev/volunteers.html The first one is clearly out of date, because the second one matches what is in subversion. Should I add a redirect in .htaccess to point /volunteers.html to /dev/volunteers.html? Also, is there a process for updating /dev/volunteers.html? Or do I just do it manually, from the results of mvn site? Thanks, John - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org