Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6378221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:58:38+00:00 2026-05-25T01:58:38+00:00

Is it possible to for a web browser to read a pdf file generated

  • 0

Is it possible to for a web browser to read a pdf file generated by a Java EE Web application without installing the Adobe reader plugin? Isn’t there any native pdf reader in the browser? What advise can you give?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:58:39+00:00Added an answer on May 25, 2026 at 1:58 am

    Chrome has a built in PDF reader, but other browsers do not (as far as I’m aware).

    You could use Google Docs to provide a “view” link for PDFs. For example, http://bit.ly/oQCsTe is a (shortened) link to a PDF file. To easily allow users to view this in Google Docs, make a link like this:
    http://docs.google.com/viewer?url=http://bit.ly/oQCsTe

    Alternatively, if you’re okay with having users install a PDF reader, but dislike Adobe reader, you can recommend an alternative like SumatraPDF or Foxit Reader.

    Finally, if you want to have your users download PDFs instead of view them in the web browser, in your HTTP request response, set the content-type header to application/octet-stream and set the content-disposition header to attachment.

    Edit: Some more ideas:

    • I suppose if you’re willing to rely on your users having other plugins installed, you might be able to fake it using a Java PDF viewer applet (maybe ICEpdf, or perhaps another one from this list of Java PDF tools) or using Flash (e.g. PDF2SWF, as mentioned in how can i show doc or rtf or pdf in flash player or in none editble format)
    • Also along those lines you could convert the PDF to a format you know users will be able to read (for example, if your document is only a page long, PNG or possibly SVG).
    • Perhaps you could do something fancy using Javascript – a quick google turned up an introduction to PDF.js, which seems to still be an active project, but that’s all I know about this approach.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to embed a web browser control in a cross-platform application? I'd
Is it possible to hide the mouse cursor in a web browser? I've done
Is it possible/recommended to use background worker threads with the web browser control? I
can we remove history points created in web browser. or is it possible not
Is it possible to edit web.config file of my cloud app deployed on Windows
Is it possible to host any other web browser beside IE in WPF desktop
I'm wondering how the concurrency in a web application actually works. Ive read several
Is it possible to launch a web browser from a windows service? I have
Possible Duplicate: Is it possible to read from a Java InputStream with a timeout?
I have a Web Browser Controller embedded in an MFC application (using IE9 underneath).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.