How to offer download of local PDF file in Java?

前端 未结 3 1527
旧巷少年郎
旧巷少年郎 2021-01-16 11:37

I have JBoss running as application server and somewhere on my HD there is a PDF file, that gets created when the user clicks on a specific action. Let\'s say the file is he

3条回答
  •  Happy的楠姐
    2021-01-16 11:45

    Yes Gustav is right. Java doesn't discriminate amongst file types. A file is a file, if you did it for csv, it should also work for pdf.

提交回复
热议问题