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

Reply via email to