Hi, Are there any API that can be used to open PDF file? I know FOP can make PDF on the fly, but i just need to show the PDF, more like an Acrobat API but completely written in Java. Are there any? Thanks before...
Whether a PDF is to be saved as a file or to open (either in a browser window or stand-alone Acrobat Reader) is primarily determined by the MIME settings on the client's computer. Most modern-day web browsers allow the default behavior to be overriden if you send the "Content-Disposition" HTTP header with appropriate instructions. Of course, no popular OS I know of currently comes "out of the box" with Acrobat Reader pre-installed, so it won't work at all unless the client has already installed Acrobat. Which is why you usually see a "get Acrobat Reader" button on web pages that will transmit PDF's.
An IDE is no substitute for an Intelligent Developer.
Hi I have used a PDF API recently that can open a PDF through a java API calleed pdflib. we use it to open a PDF template and then write on to it, store it on our server and then create a link to it on a JSP page. It does the job for us. I think it costs a small bit but you can get an evaluation. David
Joined: Feb 01, 2002
Hi guys, Thanks for responding. Can i use the Adobe Acrobat API or as what David said, pdflib, to make an applet similar to Acrobat Reader plugin for web browser? So, instead of the document thrown by the server is ahndled by the client / browser plugin, i show it using applet. I hope you guys understand what i want to say. Thanks again...