Thanks & Regards, Sumeet SCJP 1.4, SCWCD 5, LinkedIn Profile
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.setContentType("application/x-download"); response.setHeader("Content-Disposition", "attachment; filename=" + filename); The Link