This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes Problem in Downloading PDF File using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem in Downloading PDF File using JSP" Watch "Problem in Downloading PDF File using JSP" New topic
Author

Problem in Downloading PDF File using JSP

Mothea Anil Kumar
Greenhorn

Joined: Aug 01, 2005
Posts: 22
Hi All,

In my jsp page there is an option to download the PDF file.
If we click the appropriate link then the corresponding file is downloaded. After downloading if we select option 'open ' then AcrobatReader will open the PDF File defaultly.

My problem is, if Acrobat Reader is not installed in my system then it will not open the PDF file. And it will not asking to download Acrobat Reader Software option . How will we do this process in jsp.

Please give reply , it's very urgent.

Thanks in advance.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Mostly, I have seen many websites/webapps having the link to download the PDF file also have a link to download PDF Reader just next to the PDF file download link.

How is it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Downloading PDF File using JSP