My application allows you to download files. This is done by opening a new browser window (separate from the main application) which walks the user through a wizard to select a download. In the final action of this wizard, I set the mime type to "application\download" and the Content-Disposition header to "attachment; file=file.txt", write the file being downloaded to the ServletOutputStream that I obtain from the HttpServletResponse, and flush the buffer. All very simple. The problem is that, after the file is downloaded, the browser window is just left hanging there with the last contents displayed. I need a way to close that window. The best solution would be to display a confirmation page in the window after the download and then allow a user to click a button to close the window. Second best would be to just close the window. I tried returning an ActionForward, both a regular forward and a redirect, from my action and it seems that it is simply ignored. I tried setting onsubmit="window.close()" on the form that starts the download, but then the download doesn't happen. I searched the archives, with no success. Any help is appreciated. Derek Richardson
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]