File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Partial Flushing of response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Partial Flushing of response" Watch "Partial Flushing of response" New topic

Partial Flushing of response

Srinivas Rao

Joined: Aug 05, 2004
Posts: 14
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?
s penumudi
Ranch Hand

Joined: Nov 17, 2004
Posts: 113
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
I agree. Here's the link:
subject: Partial Flushing of response
Similar Threads
cleared, commited and flushed
Migration of website pages in ASP to JSP
Calling stored procedures from hibernate
Executing a stored procedure from a servlet
Prevent loading until .jsp page is finished processing