read a pdf file then output it to a html file.

How do I read in a pdf file, then output this file to a html file to be viewable in a browser? (coded examples please)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Check out the following sites , download the api given by them to create and view a pdf

 Hi cb168,

      There are  2 ways to convert PDF documents to

      (1) By sending the URL of the PDF document to
      ADOBE site and requesting for the conversion,
      For example
      To convert the pdf file security-spec.pdf, at
      Go to URL,
      and specify the url on the conversion form as

      and the html page(converted) will be returned
      back to the browser.

      A cgi program does this conversion,so you can
      also call this cgi in a html document or java
      program to convert the pdf files.

      But you will not be able to convert local pdf
      files that are located inside the firewall of
      your organization. The pdf files should be on
      internet. Also you shoulbe be  'connected' to
      internet to access this cgi.

      (2) For local files, download the plugin from
      After installing the plugin,open the document
      in PDF to be converted and select
            File > Export Document To HTML..
      to convert your PDF document to HTML.

      I am not sure that whether this conversion is
      possible on command prompt (can be  called
      from Java Program)

- Vish

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.