I found this to work
res.addHeader(Content-Disposition, filename=+fileName
+.+extension);
thanks for the support! :)
On Sep 22, 3:18 pm, Ed ej19...@gmail.com wrote:
Here is what i have used:
response.addHeader(Content-Disposition, attachment; filename=\ +
session.getAttribute(REPORT) + \)
Hi everyone,
i've set up my application in order to save a pdf file on the
blobstore, then showing it on the application main page.
To show the PDF, i instantiate a Frame passing the url of the uploaded
pdf.
The url is the location of the /serve servlet to which i add the image
blobkey (so, in
Take a look at response headers to set the name of the download
On Thu, Sep 22, 2011 at 6:59 AM, Iacopo dropunibox.t...@gmail.com wrote:
Hi everyone,
i've set up my application in order to save a pdf file on the
blobstore, then showing it on the application main page.
To show the PDF, i
I did it
I found Content-Disposition: inline; filename=myfile.txt and it
works in dev mode, but doesn't when i deploy (cos the client doesn't
ask the server about the content filename when i save)
and Content-Disposition: attachment; filename=myfile.txt which
automatically opens a save dialog,
Here is what i have used:
response.addHeader(Content-Disposition, attachment; filename=\ +
session.getAttribute(REPORT) + \)
when I right click to save as it offers up the name of the REPORT.
Ed
On Thu, Sep 22, 2011 at 7:11 AM, Iacopo dropunibox.t...@gmail.com wrote:
I did it
I found