Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Progress Bar - Asynchronous Request Logic

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...

 
reply
    Bookmark Topic Watch Topic
  • New Topic