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

  • Home
  • SEARCH
  • 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 8434941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:47:45+00:00 2026-06-10T06:47:45+00:00

I am looking for the best Java lib which I can pass in a

  • 0

I am looking for the best Java lib which I can pass in a URL and have it create an image of what the web page looks like as it would in a browser. I tried out flyingsaucer however it seems like almost every web page breaks it — it wont even render http://www.google.com or yahoo.com — the only site i could get it to render is http://www.w3c.org!

Thoughts on a better tool to use, or possibly allow flying saucer to be more lax in the xhtml is accepts?

  • 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-06-10T06:47:46+00:00Added an answer on June 10, 2026 at 6:47 am

    Flying Saucer fails on many pages since it only allows xhtml (see manual).

    But you can use some html libs to “clean” your input an then use FS.

    Webesite -> “Cleaner” -> Flying Saucer

    Some good and free libs are:

    1. JSoup (personal recommendation)
    2. HtmlCleaner
    3. JTidy (sometimes more strict than needed)
    4. Jericho HTML
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking for best advice on how to do this: I have an insert like
We have a legacy web application (not Spring based) and are looking for best
I'm looking for a Java built-in data structure that would be the best at
I am looking for the best way to add milliseconds to a Java Date
I am looking for a best way to trigger windows application automation from Java
I'm looking into how best to automate integration tests (by which I mean complete
I'm looking for the best way to run a java app as a Windows
I'm looking for some best practice advice here. I have a library that I'd
I am looking for a Java library to incorporate into a demo web app
I am looking for the best way to make my desktop java program run

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.