hi Derek, ajdust your date :)

Derek Richardson wrote:
> 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


Keith Pemberton wrote:
One person sent a post to the list with a sent date of Aug 21, 2004. This obviously hasn't happened yet.

On Mon, 2003-08-25 at 15:24, Michael Ruppin wrote:

What is it that makes you think our dates & time are
not correct?

--- Keith Pemberton <[EMAIL PROTECTED]> wrote:

I know that this is way off topic but it would be a
bit help for my
inbox.  Could the people associated with this list
please check the
clock on there computers and set the correct date
and time?  I really
would appreciate this small request.

--
Keith Pemberton <[EMAIL PROTECTED]>



---------------------------------------------------------------------

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



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


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



Reply via email to