There is any way for multiple file download? I have a jsp with differents checkbox, the user can check different checkbox's and then submit the action. I want to know how donload all the files linked to the checkbox's.
This is backwards. The first argument should be the header name. To see an example of a properly formed Content-Disposition tag go to: http://faq.javaranch.com/java/JspAndExcel [ March 18, 2008: Message edited by: Ben Souther ]
I think this code is correct, and in fact, I can see the pdf file correctly, but if I try to save the file in my computer (using the "Save as...") the name of the file is not nameFile, the name is "printPDF.pdf". I don't know why.