开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜