| Author |
Downloading the PDF file from server
|
Ravi Saluru
Greenhorn
Joined: Nov 01, 2011
Posts: 7
|
|
Hi!
I am just learning and implementing java at my work place, I tried to search on how to troubleshoot the issue but failed.
The scenario is that, on the website -> there is a download button.
When the user clicks on the download button, the file download pop-up should appear, and the user should have the option to save it in the pdf format.
The file on the server is in the form of an image, and also in the form of a pdf file.
Looking forward to your valuable suggestions.
|
Thanks and Regards,
Ravi
|
 |
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
Maybe this will help you:
http://www.mkyong.com/java/how-to-download-file-from-website-java-jsp/
|
[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
|
 |
Miku Ranjan
Ranch Hand
Joined: Oct 11, 2011
Posts: 98
|
|
Hi,
What you want to send in response you can put accordingly you have to change the response content type and header and will get result too.
|
 |
 |
|
|
subject: Downloading the PDF file from server
|
|
|