If i remember well there are special http header that can be used to
tell client the response is split in several part. This is mainly used
when you send a partial response to client (like a html with table
containing 3 rows) and after process advanced you send a more complete
response (like the same html but with table containing 10 rows) and so
on. You could try a 'file then redirect'  construction.  That may be
worth investigations. See HTTP rfc for informations.

Madhav Bhargava a écrit :

>Hi All,
>
>I have a JSP where if a link is clicked then a Save As dialog box is
>invoked. If the user chooses to save the file, then on the successful
>completion of the file download i need to update a status in the database.
>After the status is updated the page from which the Save As dialog box was
>invoked has to be refreshed with the new status.
>
>When i invoke a dialog box i use ServletOutputStream and context-disposition
>to bring up the dialog box. At the end when i write to the servlet output
>stream the response is commited. This means that i will not be able to
>automatically refresh the page from which the dialog box was invoked.
>
>Please help me with a solution where in i can capture the status of the
>download and make a call to the action to referesh the JSP and the database
>with the download status.
>
>--madhav
>
>--
>When I tell the truth, it is not for the sake of convincing those who do not
>know it, but for the sake of defending those that do
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to