Liferay: PDF saving filename
I can serve PDF files no problem with Liferay but when I try to save them they just get the filename from the url like such:
http://localhost:8080/c/document_library/get_file?uuid=7a75925d-77f6-4d8a
In this case when hitting the Save button in the Acrobat reader plugin the suggested filename will be get_file. Any idea on how to preserv开发者_JAVA技巧e the original file name?
Thanks
See How to encode the filename parameter of Content-Disposition header in HTTP?
精彩评论