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 8434755
In Process

The Archive Base Latest Questions

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

I have two choices for my usecase The user submits a URL and I

  • 0

I have two choices for my usecase

  1. The user submits a URL and I capture a screenshot of that webpage, save it in the db and render it as and when required

OR

  1. Every time the server sends a list of URLs the browser generates screenshots of these URLs

For both cases i have considered using PhantomJS. There are lot of examples of PhantomJS functions invoked from a console, but haven’t found any on how to do it from the server side (java, except for this which i couldn’t get working(line #51, waits for socket connection)) or clientside (using javascript, which i think would be an overhead for the browser). It would be great if someone could help me.

I have thought about third party providers like websnapr but i don’t know how reliable they are.

  • 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:44:40+00:00Added an answer on June 10, 2026 at 6:44 am

    Oh! I never new it was this simple. It works with two lines of code:

    ProcessBuilder builder = new ProcessBuilder(command);
    Process process = builder.start();
    

    But i would like to have input on which one would be a better approach, server side or client side? And what are the over heads!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I want to create a URL using a variable I have two choices
The using statement doesn't capture exceptions. To catch exceptions you have two choices: 1)
When Using UIPickerController I have two choices on my App: take a picture take
I am having trouble deciding between two possible design choices. I have a web
I seemingly have two choices: Make my class implement IDisposable . Create my DbCommand
Up to now I have two choices (maybe there are more outside): Set the
When you hit a roof on reading from a database, you have two choices,
Imagine that we have two tables as follows: Trades ( TradeRef INT NOT NULL,
I have two choices when writing an SQL statement with the COUNT function. SELECT
While consuming a web service in my application I have two choices(ref. msdn) Adding

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.