wood burning stoves*
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
Author

How can we read

Arjunkumar Paruchuri
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can we read