Mark,

Still another approach is to use JMS and process the command asynchronously. This approach would not preclude you from using any of the tricks others have mentioned that keep the user "occupied" while the work is being done, but at the same time it would give you other options. Asside from that, the JMS approach allows you to build-in reliability, which is a good thing!

My advice to you (and take it for what its worth) would be to not use a push mode, but instead give the user some other interface to allow him/her to pull for the job status...

I hope this was helpful.

Take care,

Troy


Mark Silva wrote:


Hello Struts Gurus,

I am facing an issue in my application where I need to run a database
creation script, and a database import script through the web (running
bat files on the server). I can run these files fine, but they take a
few minutes to run...


How can I tell the user when they have finished running?  This seems to
be a sort of push technology I am in need of, but maybe there is another
way?.  I can definitely tell them to wait for a few minutes, but how do
I actually tell them when the process is done (since there is not
another page request at this time.)

Has anyone done something similar to this?

Thanks,
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to