File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to check Acrobat Reader is installed or not?
Joined: May 15, 2006
Oct 09, 2007 15:09:00
How to check on client machine Acrobat Reader is installed or not? if not installed, how to catch that exception.
This is the code i am using on
byte content = baos.toByteArray(); response.setContentType("application/pdf"); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush();
Before executing the above code, i need to check client machine supports or not.
Joined: Mar 22, 2005
Oct 09, 2007 15:43:00
You can't. Besides, there are other
viewers apart from Acrobat Reader, so its absence wouldn't prove anything.
Java web charts
I agree. Here's the link:
subject: How to check Acrobat Reader is installed or not?
Streaming PDF files
Launching other applications from Java GUI
check for an installed application on the client side(eg. acrobat reader)
open pdf inside browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013