[thelist] Anyway to set filename through response header?

Chris Johnston fuzzylizard at gmail.com
Wed Aug 18 13:18:59 CDT 2004


Hello,

One more question concerning response headers. I am using struts and
java to server up an excel file. However, when the user gets the file
(which currently opens in their browser) the file is called
createReport.do. Is there anyway, using the response header, to change
the filename to foo.xls?

-- 
chris johnston

www.fuzzylizard.com
"For millions of years, mankind lived just like the animals and
something happened which unleashed the power of our imagination, we
learned to talk."
Pink Floyd


More information about the thelist mailing list