Sign in to follow this  
Sagar_Indurkhya

I need webpage source

Recommended Posts

Hi. I am writing a prgm that uses google to query it's database. I am using java right now because it has nice built in web support, and runs on all sorts of systems. I am able to get website urls, but i need a way to get the source from those websites. Does anyone know how to do this in java? I would prefer not having to use any 3rd party libraries.

Share this post


Link to post
Share on other sites
When you retrieve a web page, what you get is HTML source. Your browser [component] then renders that in a useful fashion for the user.

There are server-side technologies that generate HTML as a result of being processed by the server. You can't retrieve the sources to such technologies (ASP, PHP, etc.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this