Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem in Downloading PDF File using JSP

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Let me tell you a story about a man named Jed. He made this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic