What other alternative do i have for the following situation:
on file1.jsp
i have a button with caption download file
on the click of the button request is submitted to downloadfile.java
servlet downloadfile.java servlet sends
doc file to browser by opening separate (open ,save as) dialog box
during this event my file1.jsp is visible in its own window on client side while client gets an (open saveAs) popup dialog for
doc file.
i want my downloadfile.java servlet to send the download file to servlet (which it is doing perfectally well) and also refresh the file1.jsp which i cannot do because servlet cannot send two responses?