Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Progress Bar - Asynchronous Request Logic

 
John Simpson
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
John Simpson
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic