0

I want to read a pdf file and display it in the UI in non editable ,copy protected read only format.

1)Need to read a PDF file which might contain Images

(I tried using iText jar but that does not read images)

2)Display it in UI as read only.

Kindly help me by giving inputs for it.

2 Answers 2

1

You have lot of options available; some are

  1. iText
  2. Asprise
  3. All other options
Sign up to request clarification or add additional context in comments.

Comments

0

Take a look on pdfbox.apache.org and textpdf.com/

Both are open source, free libraries. For more information try some googling. There are a lot of commercial libraries as well.

3 Comments

any idea on how to display without storing the file in db? Since its going to be a fixed pdf file which the user should be able to see
Why storing file in DB? All APIs use stream abstraction, so you can display data from any source.
I got the content printed in the console ,I require to show it in the jsp file.So only I asked that question.Pls be explicit in the answer so as to help me. I am a beginner .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.