Win a copy of Barcodes with iOS this week in the iOS forum or Core Java for the Impatient in the Java 8 forum!
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);