Sumit Patil wrote:I have not used XSL-FO. The above statement was if you were using some servlet to render the pdf file. The relevant code would be
response.setHeader("Content-Disposition", "attachment; filename=\"" + filename + "\"");
As per this site, in the "Initial Document Section", you can add headers. Please try that, although i am not sure if it will help.
Sumit Patil wrote:Try this
response.setHeader("Content-Disposition", "attachment; filename=" + filename);