On Tue, Nov 18, 2008 at 5:25 PM, Jonathan Mast
<[EMAIL PROTECTED]> wrote:

> How do specify the output file name from within JSP?

Something like:

 response.setHeader("Content-disposition", "attachment; filename=" +
encodedFileName);

:: will prompt the user to `Save as` with the specified file name.

HTH,

-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to