• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Partial Flushing of response

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are working on a migration project from ASP to J2EE using struts. Because in ASP the complete logic in ASP file itself, so while calling stored procedure to render a report, they are showing 'Loading Data....' message on the screen by temporarily writing the message to the response. This message flushing is followed by a call to Procedure. So till the time the procedure executes, user can see the 'Loading Data...' message.

Now we have to achieve the same functionality. It means once click 'Search' button, we need to call the action class which gives temporary message to the user and followed by calling the Database procedure.

Can any body implemented like this? How to achieve it and is there any other alternatives for it?
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure how to partially flush the response but if you search this forum you will find solution to progress bar functionality.
Here is the link.

Progress Bar

Hope it is helpful
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic