wood burning stoves 2.0*
The moose likes Struts and the fly likes Progress Bar - Asynchronous Request Logic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Progress Bar - Asynchronous Request Logic" Watch "Progress Bar - Asynchronous Request Logic" New topic
Author

Progress Bar - Asynchronous Request Logic

John Simpson
Greenhorn

Joined: Sep 10, 2007
Posts: 25
Hello,
I have an issue that I have yet to find help on. I have a web application designed using Struts. One requirement of my application is for the user to click a link/button/image/etc. and a process begins to run. (for example a report is generated) While the process is running, a progress bar (animated GIF) also is displayed.

The problem is that the requirement also states that the user should have full access to the rest of the application while the process is executing. Once the process has finished, a notification must be sent to the user displaying a message that it has finished.

I understand my requirements, but what I is unclear to me is how to approach them. I have considered using an Ajax/Javascript request object, but even then I am limited in my navigation of the rest of the application. I know that my solution lies in my Struts business logic, but how should I implement it?

Can someone please help me?

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Jonny Doe,

Please check your private messages for an important message from me. You can do so by clicking My Private Messages on the upper right corner of the page.


Merrill
Consultant, Sima Solutions
John Simpson
Greenhorn

Joined: Sep 10, 2007
Posts: 25
Originally posted by Merrill Higginson:
Jonny Doe,

Please check your private messages for an important message from me. You can do so by clicking My Private Messages on the upper right corner of the page.


---

Hello Merrill,

I have updated my profile, please confirm that the changes made are ok. Also, do you have any tips concerning my original post? I have been reading about the use of Threads/Queues to implement such functionality, however, the overall view of how this is implemented is still unclear to me. Please reply...

 
Consider Paul's rocket mass heater.
 
subject: Progress Bar - Asynchronous Request Logic
 
Similar Threads
Show progress bar
Asynchronous Jobs - Struts Action Classes
Handling Uploaded Files
JSF popup and submit
multithreading in struts...