It's not a secret anymore!
The moose likes Java in General and the fly likes How can we read Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How can we read" Watch "How can we read" New topic

How can we read

Arjunkumar Paruchuri

Joined: Feb 17, 2007
Posts: 6
Hi sir,

i want one suggestion from your side.How can we read a particular table name and field name in the Website through JAVA application
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
If I understand your question properly, you want to grab a HTML page from a site and parse out certain data.

You can use HttpURLConnection to open a URL and read the data as a stream. With the page in memory as a String or String[] you can then hunt for the table.

This is a very common problem - a search for "java screen scraping" found lots of hits on Google.

I agree. Here's the link:
subject: How can we read
It's not a secret anymore!