content-disposition: inline; filename=test.zip (?)

"David R Robison" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <001d01c2ecd1$c4c28e80$0864a8c0@D901K911>
I am trying to return a ZIP file as the result of a form submit. I set
the response header as follows:

resp.setContentType("application/zip");
resp.setHeader("Content-Disposition", "inline; filename=test.zip");

However, when the dialog comes up to ask the user what to do with the
response, it defaults the filename test.zip.event

Is there a way I can suppress the suggestion that the download filename
should be appended with a ".event"?

David R Robison
Open Roads Consulting, Inc.
http://www.openroadsconsulting.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.