This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 12760
    
    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
 
Similar Threads
Regarding reading the shared file(network) file
Console.reader.close() misunderstanding
SCJP 5.0 in 15 days?
EJB loookup
can we give any name to jndi name?